FormSuite for Invoices v2.1 - Updated
SetCell Method




Accusoft.FSInvoices Namespace > FormTable Class : SetCell Method
Zero-based index of the column in which the cell is located.
Zero-based index of the row in which the cell is located.
Zero-based index of the DocumentPage containing the new cell.
Area of the cell on the DocumentPage. Measured in pixels from the top left of the specified DocumentPage.
Sets a new cell for this table, grabbing the text in the specified area as its new value.
Syntax
'Declaration
 
Public Sub SetCell( _
   ByVal columnIndex As Integer, _
   ByVal rowIndex As Integer, _
   ByVal documentPageIndex As Integer, _
   ByVal area As Rectangle _
) 
'Usage
 
Dim instance As FormTable
Dim columnIndex As Integer
Dim rowIndex As Integer
Dim documentPageIndex As Integer
Dim area As Rectangle
 
instance.SetCell(columnIndex, rowIndex, documentPageIndex, area)
public void SetCell( 
   int columnIndex,
   int rowIndex,
   int documentPageIndex,
   Rectangle area
)
public: void SetCell( 
   int columnIndex,
   int rowIndex,
   int documentPageIndex,
   Rectangle area
) 
public:
void SetCell( 
   int columnIndex,
   int rowIndex,
   int documentPageIndex,
   Rectangle area
) 

Parameters

columnIndex
Zero-based index of the column in which the cell is located.
rowIndex
Zero-based index of the row in which the cell is located.
documentPageIndex
Zero-based index of the DocumentPage containing the new cell.
area
Area of the cell on the DocumentPage. Measured in pixels from the top left of the specified DocumentPage.
Exceptions
ExceptionDescription
Thrown when the columnIndex, rowIndex, or documentPageIndex arguments are out of range.
Thrown when the area argument runs off the specified DocumentPage.
Remarks
The text grabbed from the area will be normalized according to the field type, unless the document was originally processed with normalization turned off for this type of field.
See Also

Reference

FormTable Class
FormTable Members