Click or drag to resize

PdfiumFPDF_GetPageRotationByIndex Method

Get the page rotation.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static bool FPDF_GetPageRotationByIndex(
	IntPtr document,
	int page_index,
	out PageRotate 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

Boolean
True for success. False for error (document or page not found)
See Also