| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
DynaPDF.GetOrientation
Queries orientation of current page.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| DynaPDF | 3.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.GetOrientation"; PDF ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. |
Result
Returns OK or error message.
Description
Queries orientation of current page.The function returns the orientation of the current open page if an open page was detected or the default orientation for newly created pages if no open page was detected.
The orientation is measured in degrees; it is also always a multiple of 90 or 0.
See also GetOrientation function in DynaPDF manual.
Examples
Rotate coordinate system as needed:
Set Variable [ $r; Value:MBS("DynaPDF.SetOrientationEx"; $pdf; MBS("DynaPDF.GetOrientation"; $pdf)) ]
See also
- DynaPDF.GetAnnotation
- DynaPDF.GetFieldOrientation
- DynaPDF.GetImportOrientation
- DynaPDF.GetPageAnnotation
- DynaPDF.New
- DynaPDF.Parser.DeleteText
- DynaPDF.Parser.FindText
- DynaPDF.SetFieldOrientation
- DynaPDF.SetOrientation
- DynaPDF.SetOrientationEx
Example Databases
Blog Entries
This function checks for a license.
Created 18th August 2014, last changed 5th March 2026