<< Click to display table of contents >> TCustomRVPrintPreview.PrintableAreaPen [VCL, LCL], PrintableAreaStroke [FMX] |
This pen is used for drawing rectangle around the printable area on the page preview.
VCL:
type
TRVPAPen = class (TPen)
property Style default psClear;
property Color default clRed;
end;
property PrintableAreaPen: TRVPAPen;
(introduced in version 10)
By default, PrintableAreaPen.Style=psClear, so the rectangle is invisible.
FMX:
type
TRVAPen = class (TStrokeBrush);
property PrintableAreaPen: TRVAPen;
(introduced in version 20)
By default, PrintableAreaStroke.Kind=TBrushKind.None, so the rectangle is invisible.
Printer cannot print beyond the area shown on this rectangle.
Windows: see WinAPI function GetDeviceCaps, PHYSICAL*** constants.
See also properties: