pageBorderWidth

Type: Integer

The pageBorderWidth property of the Printer class contains the width of a border that is to be printed around the page.

Set this property to a non-zero value (in pixels) to specify the width of the border that is to be printed; as shown in the code fragments in the following examples.

if pageBorder.value then
    if borderWidth.text.Integer > 0 then
        app.printer.pageBorderWidth := borderWidth.text.Integer;
    endif;
endif;

app.printer.pageBorderWidth := 2;

This property can be modified at any time, but the new value takes effect only at the start of the next page of output. The default value is zero (0), specifying that no border is to be printed.