srvpagescroll TSRVPageScroll

Properties   Methods   Events  | Overview

<< Click to display table of contents >>

srvpagescroll TSRVPageScroll

Properties   Methods   Events  | Overview

TSRVPageScroll a s component for displaying thumbnails of pages for a document from TSRichViewEdit component.

Unit SRVPageScroll.

Syntax

  TSRVPageScroll = class(TRVScroller)

Hierarchy

TObject

TPersistent

TComponent

TControl

TWinControl

TCustomControl

TRVScroller

Description

The source document is specified in SRichViewEdit.

Thumbnails are arranged vertically or horizontally, depending on ScrollType. A number of columns (or rows) is specified in Columns.

A size of thumbnails is defined in PageWidth, PageHeight, and PageProportions properties.

Distances between and around thumbnails are specified in PageBreakHeight, PageBreakWidth, MarginVertical, MarginHorizontal properties.

In addition to thumbnails, the component can display rectangles containing page numbers. They are displayed if PageNoVisible=True. Their properties are AlignText, BackgroundTextColor, PageNoFont.

A background is filled with Color. Thumbnails have borders drawn using PageBorderColor and SelectColor. A shadow can be displayed using the properties ShadowColor and ShadowWidth.

Thumbnail quality may be increased by assigning SmoothToombnails = True (however, it slows down repainting).