|
TCustomRVPrintPreview |
Top Previous Next |
|
TCustomRVPrintPreview is an ancestor of TRVPrintPreview component. This class draws a blank page, introduces mechanisms of page switching and scaling. Unit CRVPP; Syntax TCustomRVPrintPreview = class(TRVScroller) HierarchyTObject TPersistent TComponent TControl TWinControl TCustomControl CursorsPrint preview uses two cursors: ScalingScaling 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. Page switchingFirst, Last, Prev, Next methods, PageNo property. Displaying marginsColors and widths▪Color – background color; ▪PageBorderColor, PageBorderWidth define border around the page; ▪ShadowColor, ShadowWidth define shadow. Scheme![]() TCustomRVPrintPreview |