[Overview][Types][Classes][Variables][Index] Reference for unit 'Printers' (#lcl)

TPrinterCanvas.PageHeight

Size of the printable area for the page on the vertical axis.

Declaration

Source position: printers.pas line 124

public property TPrinterCanvas.PageHeight : Integer
  read GetPageHeight;

Description

PageHeight is a read-only Integer property with the size for the printable page area on the vertical 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 PageHeight property in the device is used. Otherwise, the property value is calculated by subtracting the values in TopMargin and BottomMargin from the PaperHeight for the printer Canvas.

Use PageWidth to get size of the printable page on the horizontal axis for the page orientation.

Use PaperHeight and PaperWidth to get the dimensions for the selected paper in Printer.

See also

TPrinterCanvas.TopMargin

  

The size of the margin at the top of the canvas.

TPrinterCanvas.BottomMargin

  

The size of the margin at the bottom edge of the canvas.

TPrinterCanvas.PaperHeight

  

Vertical size for the paper selected in the print device.

TPrinterCanvas.PageWidth

  

Size of the printable area for the page on the horizontal axis.

TPrinterCanvas.Orientation

  

Orientation of the page on the selected paper.

TPrinterCanvas.YDPI

  

DPI (Dots per Inch) in the vertical direction for the print device.

TPrinterCanvas.XDPI

  

DPI (Dots per Inch) in the horizontal direction for the print device.

TPrinter.PageHeight

  

Height of the usable area on the selected paper size in "Dots"

TPrinter.PageWidth

  

Width of the usable area on the selected paper size in "Dots"


Version 4.0 Generated 2025-05-03 Home