Switch to: V9V8V7V6V5

VReport Class: Preview Methods

VTable.PreviewPage()

Declaration:

PreviewPage( inPageIndex as integer ) as Picture

Parameters:

  • inPageIndex – index of the report page to preview. Starts from 1.

Description:

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.

Example:

MyReport.ShowPreviewPage( inPageIndex as Integer )
    dim prv as Picture
 
    prv = mReport.PreviewPage( inPageIndex )
    ...
end