SetAutoPageBreak: Configure Automatic Page break   [ 15 ]

Description

Set whether FPDF4ZOS library should automatically generate a new page whenever output in flow mode reaches bottom margin.  This function impacts the way Write() and Cell() functions operate.

When enabled by a true value in the first integer parameter, the second parameter is a float number which specifies the distance from the bottom of the page that defines the triggering limit.

By default, this mode is enabled and the margin value is set to 20 mm.


C calling syntax
void SetAutoPageBreak (int flag, float b_margin)
Cobol calling syntax
Call "SetAutoPageBreak" using by value FLAG,BMARGIN