Switch to: V9V8V7V6V5

VReport Class: Preview Properties

VReport.PreviewZoom

Declaration:

VReport.PreviewZoom as Integer (r/w)

Description:

Specifies the preview zoom in percents 1-100. Affects only the following calls of VReport.PreviewPage() method.

Example:

dim preview as Picture
 
report.PreviewZoom = 50
preview = report.PreviewPage()

VReport.PreviewWidth

Declaration:

VReport.PreviewWidth as Integer (r/w)

Description:

Specifies the width of preview in pixels. Affects only the following calls of VReport.PreviewPage() method.

Example:

dim preview as Picture
 
report.PreviewWidth = 600
preview = report.PreviewPage()

VReport.PreviewHeight

Declaration:

VReport.PreviewHeight as Integer (r/w)

Description:

Specifies the height of preview in pixels. Affects only the following calls of VReport.PreviewPage() method.

Example:

dim preview as Picture
 
report.PreviewHeight = 600
preview = report.PreviewPage()