FormSuite for Invoices v2.1 - Updated
InsertRow(Int32,Int32,Int32) Method




Accusoft.FSInvoices Namespace > FormTable Class : InsertRow(Int32,Int32,Int32) Method
Zero-based index of the DocumentPage containing the new row.
Top of the new row. Measured in pixels from the top left of the specified DocumentPage.
Bottom of the new row. Measured in pixels from the top left of the specified DocumentPage.
Inserts a new row into the table, grabbing the text in the specified area as its new value..
Syntax
'Declaration
 
Public Function InsertRow( _
   ByVal documentPageIndex As Integer, _
   ByVal rowTop As Integer, _
   ByVal rowBottom As Integer _
) As Integer
'Usage
 
Dim instance As FormTable
Dim documentPageIndex As Integer
Dim rowTop As Integer
Dim rowBottom As Integer
Dim value As Integer
 
value = instance.InsertRow(documentPageIndex, rowTop, rowBottom)
public int InsertRow( 
   int documentPageIndex,
   int rowTop,
   int rowBottom
)
public: int InsertRow( 
   int documentPageIndex,
   int rowTop,
   int rowBottom
) 
public:
int InsertRow( 
   int documentPageIndex,
   int rowTop,
   int rowBottom
) 

Parameters

documentPageIndex
Zero-based index of the DocumentPage containing the new row.
rowTop
Top of the new row. Measured in pixels from the top left of the specified DocumentPage.
rowBottom
Bottom of the new row. Measured in pixels from the top left of the specified DocumentPage.

Return Value

Zero-based row insertion index.
Exceptions
ExceptionDescription
Thrown when the documentPageIndex argument is out of range.
Thrown when the rowTop or rowBottom arguments run off the specified page or when rowBottom is not greater (farther down the page) than rowTop.
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