User Tools

Site Tools


zoom_initial_report_preview_magnification_.htm
Navigation:  ABC Library Reference > ReportManager Class > ReportManager Properties >====== Zoom (initial report preview magnification) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page
Zoom SHORT

blk2blue.jpg

The Zoom property controls the initial zoom or magnification factor for the on-line report preview. A value of zero (0) uses the PrintPreviewClass object's default zoom setting. Any other value specifies the initial preview zoom factor.

The Zoom property lets you override the PrintPreviewClass object's default zoom setting. The PrintPreviewClass object determines the actual zoom factor applied.

The Zoom property is only effective if the Preview property is set.

Implementation:

The AskPreview method implements the behavior specified by the Zoom property by passing the Zoom value to the PrintPreviewClass.Display method.

If the PrintPreviewClass object allows custom zoom factors, then the initial magnification equals the Zoom value (81 gives 81%, 104 gives 104%, etc.). If the PrintPreviewClass object only supports a limited set of discrete magnifications, the initial magnification is the one closest to the Zoom value (81 gives 75%, 104 gives 100%, etc.).

See Also:     AskPreview, Preview, PrintPreviewClass.ZoomIndex

zoom_initial_report_preview_magnification_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1