 | PdfiumFPDFPage_New Method |
Construct an empty page
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static IntPtr FPDFPage_New(
IntPtr document,
int page_index,
double width,
double height
)
Public Shared Function FPDFPage_New (
document As IntPtr,
page_index As Integer,
width As Double,
height As Double
) As IntPtr
public:
static IntPtr FPDFPage_New(
IntPtr document,
int page_index,
double width,
double height
)
static member FPDFPage_New :
document : IntPtr *
page_index : int *
width : float *
height : float -> IntPtr
public static IntPtr FPDFPage_New(
IntPtr document,
int page_index,
double width,
double height
)
Patagames.Pdf.Pdfium.FPDFPage_New = function(document, page_index, width, height);
Parameters
- document IntPtr
- Handle to document. Returned by FPDF_LoadDocument(String, String), FPDF_LoadMemDocument(Byte, Int32, String) or FPDF_LoadCustomDocument(FPDF_FILEACCESS, String) functions.
- page_index Int32
- The index of a page
- width Double
- The page width
- height Double
- The page height.
Return Value
IntPtrThe handle to a page. IntPtr.Zero if any error occurs.
Remarks
See Also