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:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Defines how to handle page breaks.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 4.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
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 | Optional |
PosY | The Y position of new text rectangle on the new page. | 100 | Optional |
Width | The width of new text rectangle on the new page. | 400 | Optional |
Height | The height of new text rectangle on the new page. | 600 | Optional |
Returns OK or error.
See also AllowPageBreak function in DynaPDF manual.
Disable page break:
MBS("DynaPDF.AllowPageBreak"; $pdf; 0)
This function checks for a license.
Created 18th August 2014, last changed 17th July 2022