TPrinterCanvas.PageWidth property
Size of the printable area for the page on the horizontal axis.
Declaration
property PageWidth: Integer read GetPageWidth;Description
PageWidth is a read-only
Integer property with the size
for the printable page area on the horizontal axis of the page orientation.
The value is expressed as the number of
"Dots" on the device in
Printer.
When Printer has been assigned and HasDefaultMargins is
True, the PageWidth property in the device is used. Otherwise, the
property value is calculated by subtracting the values in
LeftMargin and RightMargin from the
PaperWidth for the printer Canvas.
Use PageHeight to get size of the printable page on the vertical
axis for the page orientation.
Use PaperHeight and PaperWidth to get the dimensions
for the selected paper in Printer.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
