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