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

DynaPDF.AppendPage

This function appends an empty page to the document.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 3.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.AppendPage"; PDF { ; DontSetFont } )   More

(old name: DynaPDF.Append)

Parameters

Parameter Description Example Flags
PDF The PDF reference returned from DynaPDF.New. $pdf
DontSetFont Available in MBS FileMaker Plugin 14.1 or newer.
Pass 1 to not set a default font.
Should be 1 if used with DynaPDF.SetPageBreakExpression, but otherwise leave at default, which is 0.
0 Optional

Result

Returns OK on success.

Description

This function appends an empty page to the document.
The default page format for new created pages is DIN A4. However, when changing the page format, the next page is created in the same format as the previous one. The CropBox is also set to the values of the previous page. The other bounding boxes such as ArtBox, BleedBox and so on must be set manually for each page.

Use DynaPDF.SetPageHeight and DynaPDF.SetPageWidth or DynaPDF.SetPageFormat function to change size of current page.

See also Append function in DynaPDF manual.

Examples

Append page:

Set Variable [$r; Value:MBS("DynaPDF.AppendPage"; $pdf)]

See also

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 23th February 2024


DynaPDF.AppendImagePages - DynaPDF.ApplyShading