<< Click to display table of contents >> TCustomRVPrintPreview |
TCustomRVPrintPreview is an ancestor of TRVPrintPreview component. This class draws a blank page, introduces mechanisms of page switching and scaling.
Unit [VCL/FMX] CRVPP / fmxCRVPP.
Syntax
TCustomRVPrintPreview = class(TRVScroller)
TObject
TPersistent
TComponent
TControl
TWinControl
TCustomControl
Print preview uses two cursors:
Scaling is defined by:
▪ZoomMode property – mode of scaling;
▪ZoomPercent property – scaling percent;
▪SetZoom method changes ZoomPercent;
▪OnZoomChanged event occurs when ZoomPercent changes;
▪ClickMode property allows/disallows zooming.
First, Last, Prev, Next methods, PageNo property.
MarginsPen/MarginsStroke property
▪Color/Fill – background fill;
▪PageBorderColor, PageBorderWidth define border around the page;
▪ShadowColor, ShadowWidth define shadow.
The scheme above is for VCL and LCL version of the component.
FireMonkey version uses Fill property instead of Color property.