Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

DynaPDF.SetOrientation

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 )

Parameters

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

Result

Returns OK or error message.

Description

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


DynaPDF.SetOpacity   -   DynaPDF.SetOrientationEx

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins