FormSuite for Invoices v2.1 - Updated
SetColumnHeader Method




Accusoft.FSInvoices Namespace > FormTable Class : SetColumnHeader Method
Zero-based index of the column for which to set a new header.
Zero-based index of the DocumentPage containing the new column header.
Area of the new column header. Measured in pixels from the top left of the specified DocumentPage.
Sets a new column header for the specified column.
Syntax
'Declaration
 
Public Sub SetColumnHeader( _
   ByVal columnIndex As Integer, _
   ByVal documentPageIndex As Integer, _
   ByVal area As Rectangle _
) 
'Usage
 
Dim instance As FormTable
Dim columnIndex As Integer
Dim documentPageIndex As Integer
Dim area As Rectangle
 
instance.SetColumnHeader(columnIndex, documentPageIndex, area)
public void SetColumnHeader( 
   int columnIndex,
   int documentPageIndex,
   Rectangle area
)
public: void SetColumnHeader( 
   int columnIndex,
   int documentPageIndex,
   Rectangle area
) 
public:
void SetColumnHeader( 
   int columnIndex,
   int documentPageIndex,
   Rectangle area
) 

Parameters

columnIndex
Zero-based index of the column for which to set a new header.
documentPageIndex
Zero-based index of the DocumentPage containing the new column header.
area
Area of the new column header. Measured in pixels from the top left of the specified DocumentPage.
Exceptions
ExceptionDescription
Thrown when the columnIndex or documentPageIndex arguments are out of range.
Thrown when the area argument runs off the specified DocumentPage.
Remarks
This will adjust the area of the column header and of the cells in the column. It also updates their values to the text found in those areas. The values 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