Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Changes the orientation of the page.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 3.5 Yes Yes Yes Yes Yes
MBS( "DynaPDF.SetOrientation"; PDF; Value )   More


Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
Value The new roatation value. From -360 to 360 in 90 degree steps. 90


Returns OK or error message.


Changes the orientation of the page.
The function sets the orientation of a page. The parameter Value must be a multiple of 90 or 0. Positive values rotate the page clockwise, negative counter counter clockwise.
Note that the page will be rotated entirely incl. all objects. The width and height of the page are left unchanged, including the coordinates. Creating landscape paper formats require further such as changing the coordinate system. This can be done with DynaPDF.SetOrientationEx. Another way to create a landscape paper format is to change the bounding box of the page, see DynaPDF.SetBBox.

Default is 0.

See also DynaPDF.SetOrientationEx.

See also SetOrientation function in DynaPDF manual.

See also

Created 18th August 2014, last changed 22nd January 2015

DynaPDF.SetOpacity   -   DynaPDF.SetOrientationEx

Feedback: Report problem or ask question.

MBS FileMaker Plugins