 | PdfiumFPDFPage_SetRotation Method |
Set page rotation. One of following values will be set: 0(0), 1(90), 2(180), 3(270).
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static void FPDFPage_SetRotation(
IntPtr page,
PageRotate rotate
)
Public Shared Sub FPDFPage_SetRotation (
page As IntPtr,
rotate As PageRotate
)
public:
static void FPDFPage_SetRotation(
IntPtr page,
PageRotate rotate
)
static member FPDFPage_SetRotation :
page : IntPtr *
rotate : PageRotate -> unit
public static void FPDFPage_SetRotation(
IntPtr page,
PageRotate rotate
)
Patagames.Pdf.Pdfium.FPDFPage_SetRotation = function(page, rotate);
Parameters
- page IntPtr
- Handle to a page. Returned by FPDFPage_New(IntPtr, Int32, Double, Double).
- rotate PageRotate
- The value of the PDF page rotation
RemarksThe PDF page rotates clockwise. When it’s done, the content in this pagewill be changed.
You must call the
FPDF_LoadPage(IntPtr, Int32) to reload the page
See Also