ImageGear .NET
Add Method (ImGearDocumentPageArray)




Page to be added.
Adds a new ImGearPage to the end of the array of pages.
Syntax
'Declaration
 
Public Overridable Function Add( _
   ByVal page As ImGearPage _
) As Integer
'Usage
 
Dim instance As ImGearDocumentPageArray
Dim page As ImGearPage
Dim value As Integer
 
value = instance.Add(page)
public virtual int Add( 
   ImGearPage page
)
public: virtual int Add( 
   ImGearPage* page
) 
public:
virtual int Add( 
   ImGearPage^ page
) 

Parameters

page
Page to be added.

Return Value

Index in the array where new page is added.
Remarks
The method throws an exception if the page is already attached to another document.

An exception is thrown also when the page type does not correspond with the document type array containing the page.

See Also

Reference

ImGearDocumentPageArray Class
ImGearDocumentPageArray Members
ImGearPage Class

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback