 | PdfiumFPDF_GetPageRotationByIndex Method |
Get the page rotation.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool FPDF_GetPageRotationByIndex(
IntPtr document,
int page_index,
out PageRotate rotation
)
Public Shared Function FPDF_GetPageRotationByIndex (
document As IntPtr,
page_index As Integer,
<OutAttribute> ByRef rotation As PageRotate
) As Boolean
public:
static bool FPDF_GetPageRotationByIndex(
IntPtr document,
int page_index,
[OutAttribute] PageRotate% rotation
)
static member FPDF_GetPageRotationByIndex :
document : IntPtr *
page_index : int *
rotation : PageRotate byref -> bool
public static boolean FPDF_GetPageRotationByIndex(
IntPtr document,
int page_index,
/** @attribute OutAttribute */ /** @ref */PageRotate rotation
)
Patagames.Pdf.Pdfium.FPDF_GetPageRotationByIndex = function(document, page_index, rotation);
Parameters
- document IntPtr
- Handle to document. Returned by FPDF_LoadDocument(String, String) function.
- page_index Int32
- Page index, zero for the first page.
- rotation PageRotate
- Pointer to an integer value receiving the page rotation. One of following values will be returned:0(0), 1(90), 2(180), 3(270).
Return Value
BooleanTrue for success. False for error (document or page not found)
See Also