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.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

DynaPDF.AllowPageBreak

Defines how to handle page breaks.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 4.2 Yes Yes Yes Yes Yes

MBS( "DynaPDF.AllowPageBreak"; PDF; Allow; PosX; PosY; Width; Height )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
Allow Wether to allow page breaks. Can be 1 to allow or 0 to disallow. 0
PosX The X position of new text rectangle on the new page. 100
PosY The Y position of new text rectangle on the new page. 100
Width The width of new text rectangle on the new page. 400
Height The height of new text rectangle on the new page. 600

Result

Returns OK or error.

Description

Defines how to handle page breaks.
By default DynaPDF.WriteFText and DynaPDF.WriteFTextEx functions stop when text rectangle is filled.
If you allow a page break, the plugin will start a new page and add text there.
If you pass all 6 parameters, we use the new rectangle for the following pages.

Examples

Disable page break:

MBS("DynaPDF.AllowPageBreak"; $pdf; 0)

See also

Example Databases


DynaPDF.AddValToChoiceField   -   DynaPDF.AppendImagePage

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins