ComponentOne VSView 8.0
PreviewPage Property

Returns or sets the current preview page (first page is 1).

Syntax

[form!]VSPrinter.PreviewPage[ = value As Integer ]

Remarks

Use this property in preview mode to determine which preview page is currently visible, or to select a page for previewing.

Valid pages range from one to PageCount. If you set the Preview property to a value less than one, it is set to one. If you set the Preview property to a value larger than PageCount, it is set to PageCount. Either way, no error is fired.

If the ZoomMode property is set to a value that causes more than one page to be displayed at once (zmTwoPages or zmThumbnail), then PreviewPage returns the number of the first page being displayed. The total number of pages displayed can be determined by reading the PreviewPages property.

Data Type

Integer

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback