Sets new data for this field.
The SetData method will set the data's value by selecting any text in the specified bounding area on the specified page. Set the autoSelectLabel parameter to true so FSI will attempt to find a matching label for the new data.
Syntax
'Declaration
Public Sub SetData( _
ByVal As Integer, _
ByVal As Rectangle, _
ByVal As Boolean _
)
'Usage
Dim instance As FormField
Dim documentPageIndex As Integer
Dim area As Rectangle
Dim autoSelectLabel As Boolean
instance.SetData(documentPageIndex, area, autoSelectLabel)
public void SetData(
int ,
Rectangle ,
bool
)
public: void SetData(
int ,
Rectangle ,
bool
)
public:
void SetData(
int ,
Rectangle ,
bool
)
Parameters
- documentPageIndex
- Zero-based index of the DocumentPage that contains the new data.
- area
- The area of the data (in pixels) that should be loaded from the DocumentPage. Note: This method will retrieve the area of the deskewed DocumentPage which may not be the same area as the original image.
- autoSelectLabel
-
Automatically select any label associated with the new data.
Exceptions
See Also