Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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