Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

PDFKit.GetPDFPageRotation

Returns the page rotation angle in degrees.

Component Version macOS Windows Linux Server iOS SDK
PDFKit 2.9 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ✅ Yes
MBS( "PDFKit.GetPDFPageRotation"; PDF; index )   More

Parameters

Parameter Description Example
PDF A container value with the PDF content from a media field. Or a text with an URL. Or a PDF reference from PDFKit.Open.
index The index of the page. From zero to PDFKit.GetPDFPageCount-1. 1

Result

Returns rotation in degrees.

Description

Returns the page rotation angle in degrees.
The rotation is a positive multiple of 90: 0, 90, 180, or 270. The rotation of pages with negative rotation is converted to a corresponding positive rotation.

See also

This function checks for a license.

Created 18th August 2014, last changed 16th February 2015


PDFKit.GetPDFPagePDFRef - PDFKit.GetPDFPageText