ImageGear .NET - Updated December 24, 2018
CreateNewPage Method




ImageGear24.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDFDocument Class : 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)

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