Enables or disables automatic page break. If this is activated, the second parameter determines the distance from the bottom of the page. This distance determines the position from which an automatic page break is to be performed. By default the automatic page break is activated with a distance of 2cm.
Syntax
C++
METHOD PUBLIC SetAutoPageBreak : BOOL
VAR_INPUT
auto_break : BOOL;
margin : REAL;
END_VAR
Parameters
|
Parameter |
Description |
|---|---|
|
auto_break |
Boolean value that indicates whether the automatic page break is enabled (true) or disabled (false). |
|
margin |
Distance from the bottom edge of the page that defines the boundary when the page break is reached. |
|
Return value |
Status of the call. |
Example
Requirements
Remarks