Sets a text parameter of a web form. The text parameter is passed while uploading images.

Namespace: Dynamsoft.DotNet.TWAIN
Assembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public bool SetHTTPFormField(
	string strFieldName,
	string strFieldValue
)
Visual Basic
Public Function SetHTTPFormField ( _
	strFieldName As String, _
	strFieldValue As String _
) As Boolean

Parameters

strFieldName
Type: System..::..String
Sspecifies the name of a text field in web form.
strFieldValue
Type: System..::..String
Specifies the value of a text field in web form.

Return Value

True indicates success. False indicates failure.

Exceptions

ExceptionCondition
Dynamsoft.DotNet.TWAIN..::..TwainException When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString.

See Also