[Overview][Types][Classes][Variables][Index] |
Performs actions needed to get the dimensions (rectangle) for the specified paper.
Source position: printers.pas line 290
protected function TPrinter.DoGetPaperRect( |
aName: string; |
var aPaperRc: TPaperRect |
):Integer; virtual; |
aName |
|
Paper name to locate for the selected printer. |
aPaperRc |
|
Rectangle with the dimensions for the paper. |
0 for margins, 1 for physical paper, -1 when not found.
DoGetPaperRect is an Integer function used to get the dimensions (or rectangle) for the specified paper name. The return value indicates whether the rectangle represents the margins or the actual work area for the specified paper name.
Remark: | In TPrinter, DoGetPaperRect always returns -1. It must be overridden in a descendant class to use the facilities for the printer type to get page areas. |
|
The list of supported paper names for the attached printer device. |
Version 3.2 | Generated 2024-02-25 | Home |