 | PdfiumFPDF_GetPageSizeByIndex Method |
Get the size of a page by index.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool FPDF_GetPageSizeByIndex(
IntPtr document,
int page_index,
out double width,
out double height
)
Public Shared Function FPDF_GetPageSizeByIndex (
document As IntPtr,
page_index As Integer,
<OutAttribute> ByRef width As Double,
<OutAttribute> ByRef height As Double
) As Boolean
public:
static bool FPDF_GetPageSizeByIndex(
IntPtr document,
int page_index,
[OutAttribute] double% width,
[OutAttribute] double% height
)
static member FPDF_GetPageSizeByIndex :
document : IntPtr *
page_index : int *
width : float byref *
height : float byref -> bool
public static boolean FPDF_GetPageSizeByIndex(
IntPtr document,
int page_index,
/** @attribute OutAttribute */ /** @ref */double width,
/** @attribute OutAttribute */ /** @ref */double height
)
Patagames.Pdf.Pdfium.FPDF_GetPageSizeByIndex = function(document, page_index, width, height);
Parameters
- document IntPtr
- Handle to document. Returned by FPDF_LoadDocument(String, String) function.
- page_index Int32
- Page index, zero for the first page.
- width Double
- Pointer to a double value receiving the page width (in points).
- height Double
- Pointer to a double value receiving the page height (in points).
Return Value
BooleanTrue for success. False for error (document or page not found)
See Also