ImageGear for .NET
InsertPage Method (ImGearXPSDocument)




Position where page is to be inserted. If it is less than 0 or more than total page count, it is appended after the last page.
ImageGear.Core.ImGearPage to be inserted.
Width of page, in 1/100 inches.
Height of page, in 1/100 inches.
Inserts ImageGear page into the current document.
Syntax
'Declaration
 
Public Function InsertPage( _
   ByVal index As Integer, _
   ByVal page As ImGearPage, _
   ByVal width As Integer, _
   ByVal height As Integer _
) As Integer
'Usage
 
Dim instance As ImGearXPSDocument
Dim index As Integer
Dim page As ImGearPage
Dim width As Integer
Dim height As Integer
Dim value As Integer
 
value = instance.InsertPage(index, page, width, height)
public int InsertPage( 
   int index,
   ImGearPage page,
   int width,
   int height
)
public: int InsertPage( 
   int index,
   ImGearPage* page,
   int width,
   int height
) 
public:
int InsertPage( 
   int index,
   ImGearPage^ page,
   int width,
   int height
) 

Parameters

index
Position where page is to be inserted. If it is less than 0 or more than total page count, it is appended after the last page.
page
ImageGear.Core.ImGearPage to be inserted.
width
Width of page, in 1/100 inches.
height
Height of page, in 1/100 inches.

Return Value

Position of the newly inserted page.
See Also

Reference

ImGearXPSDocument Class
ImGearXPSDocument Members
ImGearPage Class

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback