|Top Previous Next|
TSRVViewProperty = class(TPersistent)
Free page positioning mode
Free page positioning mode is activated in FreePosPage property. In this mode, you can define position, zooming and Z-order for specific pages.
Zooming and page arrangement
The user can change zooming:
•using a mouse wheel, if MouseWheelZooming=True.
•using a special panel, if ZoomPanelVisible=True.
If zooming allows, pages may be arranged in columns, according to MaxPageColCount property.
A table "icon" (a rectangle at the top left corner) is displayed when the user moves the mouse pointer inside a table (TRVTableItemInfo), if UseTableIcons=True.
Even when the user moves the mouse pointer outside a table, this icon is still visible for TableIconDelay.
Rectangle around the document area
Hints on vertical scrolling
A hint appear on scrolling, if ShowScrollHint=True. This hint contains two lines describing the page at the scrolling position:
•HintPrefixText followed by the page number
•text from the beginning of page
This text is drawn with HintFont.
Header and footer
When the header is being edited, a line is shown above the main document. This line uses HeaderPen. Additionally, a label is displayed.
UseVCLThemes allows using colors of the current VCL theme.
A footers and the main document have similar properties. For the main document, a line and a label are invisible by default.
When a footer or a header is being edited, the main document can be shaded, if MainDocumentShade = True. When the main document is edited, a header and a footer can be shaded if HeaderFooterShade = True.
However, these properties depend on viewing modes. If PageProperty.AutoWidth=False and PageProperty.PageViewMode=True, these properties return the same values as PageProperty's PageWidth and PageHeight. When AutoWidth or PageViewMode are changed, the screen view does not correspond to the paper size, and these properties become different.
ScaleRichView © trichview.com