Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
DynaPDF.AllowPageBreak
Defines how to handle page breaks.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 4.2 | Yes | Yes | Yes | Yes | Yes |
MBS( "DynaPDF.AllowPageBreak"; PDF; Allow; PosX; PosY; Width; Height ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. | ||
| Allow | Whether 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.
Deprecated. Please use DynaPDF.SetPageBreakExpression instead for future development.
Examples
Disable page break:
MBS("DynaPDF.AllowPageBreak"; $pdf; 0)
See also
- DynaPDF.New
- DynaPDF.SetPageBreakExpression
- DynaPDF.WriteFText
- DynaPDF.WriteFTextEx
- DynaPDF.WriteStyledText
- DynaPDF.WriteStyledTextEx
Example Databases
Created 18th August 2014, last changed 15th December 2020
DynaPDF.AddValToChoiceField - DynaPDF.AppendImagePage
Feedback: Report problem or ask question.
Links
MBS FileMaker tutorial videos