ImageGear for .NET
CreateNewPage Method




The page number after which the new page is inserted. The first page is 0. Use BEFORE_FIRST_PAGE to insert the new page at the beginning of a document.
Rectangle specifying the page's media box, specified in user space coordinates.
Creates new page in the document.
Syntax
'Declaration
 
Public Function CreateNewPage( _
   ByVal precedingIndex As Integer, _
   ByVal mediaBox As ImGearPDFFixedRect _
) As ImGearPDFPage
'Usage
 
Dim instance As ImGearPDFDocument
Dim precedingIndex As Integer
Dim mediaBox As ImGearPDFFixedRect
Dim value As ImGearPDFPage
 
value = instance.CreateNewPage(precedingIndex, mediaBox)
public ImGearPDFPage CreateNewPage( 
   int precedingIndex,
   ImGearPDFFixedRect mediaBox
)
public: ImGearPDFPage* CreateNewPage( 
   int precedingIndex,
   ImGearPDFFixedRect* mediaBox
) 
public:
ImGearPDFPage^ CreateNewPage( 
   int precedingIndex,
   ImGearPDFFixedRect^ mediaBox
) 

Parameters

precedingIndex
The page number after which the new page is inserted. The first page is 0. Use BEFORE_FIRST_PAGE to insert the new page at the beginning of a document.
mediaBox
Rectangle specifying the page's media box, specified in user space coordinates.

Return Value

ImGearPDFPreflight class object.
See Also

Reference

ImGearPDFDocument Class
ImGearPDFDocument Members
ImGearPDFPreflight Class
ImGearPDFFixedRect Class

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback