ImageGear .NET v25.0 - Updated
Insert Method (ImGearDocumentPageArray)




ImageGear.Core Assembly > ImageGear.Core Namespace > ImGearDocumentPageArray Class : Insert Method
Position to insert at.
Page to insert.
Inserts a page into the array at index position.
Syntax
'Declaration
 
Public Overridable Sub Insert( _
   ByVal index As Integer, _
   ByVal page As ImGearPage _
) 
'Usage
 
Dim instance As ImGearDocumentPageArray
Dim index As Integer
Dim page As ImGearPage
 
instance.Insert(index, page)
public virtual void Insert( 
   int index,
   ImGearPage page
)
public: virtual void Insert( 
   int index,
   ImGearPage* page
) 
public:
virtual void Insert( 
   int index,
   ImGearPage^ page
) 

Parameters

index
Position to insert at.
page
Page to insert.
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