rvico TRichView Reference | TCustomRVPrintPreview

TCustomRVPrintPreview

Properties   Methods   Events

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)

Hierarchy

TObject

TPersistent

TComponent

TControl

TWinControl

TCustomControl

TRVScroller

Cursors

Print preview uses two cursors:

ZoomInCursor,
ZoomOutCursor.

Scaling

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.

Page switching

First, Last, Prev, Next methods, PageNo property.

Displaying margins

MarginsPen property

Colors and widths

Color – background color;
PageBorderColor, PageBorderWidth define border around the page;
ShadowColor, ShadowWidth define shadow.

Scheme

PreviewWindow


RichView © Sergey Tkachenko