PaperWidth

Printing, VCL, document creation

Description

The portrait paper width in PDF points, from 1 through 14400; the default is 595, the A4 width

The value is not affected by Orientation; PageWidthPoints returns the width of the page after orientation is applied

Syntax

Delphi

Property TPDFlibPrinter.PaperWidth: Double;

Remarks

A value outside 1 through 14400 raises EPDFlibPrinter

Assigning the property while a job is active raises EPDFlibPrinter

See also

TPDFlibPrinter, GetCanvasDC, NewPageFromCanvasDC