Accusoft.FSInvoices1.Net - Updated
InsertPage Method




Accusoft.FSInvoices Namespace > FormResult Class : InsertPage Method
DocumentPage to insert into the Document.
Zero-based index at which to insert the DocumentPage into the Document.
Inserts a DocumentPage into the Document.
Syntax
'Declaration
 
Public Sub InsertPage( _
   ByVal documentPage As DocumentPage, _
   ByVal insertIndex As Integer _
) 
'Usage
 
Dim instance As FormResult
Dim documentPage As DocumentPage
Dim insertIndex As Integer
 
instance.InsertPage(documentPage, insertIndex)
public void InsertPage( 
   DocumentPage documentPage,
   int insertIndex
)
public: void InsertPage( 
   DocumentPage* documentPage,
   int insertIndex
) 
public:
void InsertPage( 
   DocumentPage^ documentPage,
   int insertIndex
) 

Parameters

documentPage
DocumentPage to insert into the Document.
insertIndex
Zero-based index at which to insert the DocumentPage into the Document.
Exceptions
ExceptionDescription
Thrown when the documentPage argument is null.
Thrown when the insertIndex argument is out of range.
Remarks
Each FormField in Fields may be automatically updated based on the inserted page unless the UserValidated flag is set to true. If the inserted page contains table rows that belong to a table defined in FormDefinition.TableDefinitions, they will be added to the associated FormTable in Tables.
See Also

Reference

FormResult Class
FormResult Members