VReport Class: Preview Methods
PreviewPage( inPageIndex as integer ) as Picture
- inPageIndex – index of the report page to preview. Starts from 1.
This method generates preview of Nth page of the report.
Usually you need this to build some kind of user interface where you want to show a preview of the first report pages before printing.
MyReport.ShowPreviewPage( inPageIndex as Integer ) dim prv as Picture prv = mReport.PreviewPage( inPageIndex ) ... end