TCustomRVPrintPreview.MarginsPen [VCL, LCL], MarginsStroke [FMX]

<< Click to display table of contents >>

TCustomRVPrintPreview.MarginsPen [VCL, LCL], MarginsStroke [FMX]

This pen is used for drawing rectangle around the document area (i.e. inside page margins) on the page preview.

VCL:

type

  TRVMarginsPen = class (TPen)

    property Style default psClear;

    property Color default clSilver;

  end;

 

property MarginsPen: TRVMarginsPen;

By default, MarginsPen.Style=psClear, so the rectangle is invisible.

FMX:

type
  TRVMarginsPen = class (TStrokeBrush);

 
property MarginsStroke: TRVMarginsPen;

By default, MarginsStroke.Kind=TBrushKind.None, so the rectangle is invisible.

See also properties:

PrintableAreaPen/PrintableAreaStroke.

See also properties of TRVPrint:

Margins,

See also:

Picture in TRVPrint topic.