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.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Sets page break expression.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 11.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
Expression | The expression to use. |
Returns OK or error.
Set the page break expression:
Set Variable [ $r ; Value: MBS("DynaPDF.SetPageBreakExpression"; $pdf; "Let ( [
$CurrentColumn = $CurrentColumn + 1;
t = If ( $CurrentColumn < $ColumnCount ;
Let ( [
$PosX = $StartPosX + $CurrentColumn * ($ColumnWidth + $Distance) ];
0) ;
Let ( [
$PosX = $StartPosX;
$CurrentColumn = 0;
a = MBS( \"DynaPDF.EndPage\"; $pdf);
a = MBS( \"DynaPDF.AppendPage\"; $pdf)];
0)
);
a = MBS( \"DynaPDF.SetTextRect\"; $pdf; $PosX; $PosY; $ColumnWidth; $ColumnHeight )
]; 0 )") ]
This function checks for a license.
Created 15th December 2020, last changed 19th January 2021