User Tools

Site Tools


zoomindex_index_to_applied_zoom_factor_.htm
Navigation:  ABC Library Reference > PrintPreviewClass > PrintPreviewClass Properties >====== ZoomIndex (index to applied zoom factor) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page
ZoomIndex BYTE

blk2blue.jpg

The ZoomIndex property contains a value indicating which zoom factor is applied. The PrintPreviewClass object uses this property to identify and apply the selected zoom factor. The SetZoomPercentile method sets the ZoomIndex property.

Implementation:

The ZoomIndex value “points” to one of the 7 standard zoom settings or to a user zoom setting. The PrintPreviewClass object sets the ZoomIndex value when the end user selects a zoom setting from one of the zoom menus or from the zoom combo box. The standard zoom choices are defined in ABREPORT.TRN as follows:

No Zoom Displays the specified number of pages (PagesAcross and PagesDown properties) in a tiled arrangement in the preview window.
Page Width Displays a single page whose width is the same as the width of the preview window.
50% Displays a single page at 50% of actual print size.
75% Displays a single page at 75% of actual print size.
100% Displays a single page at 100% of actual print size.
200% Displays a single page at 200% of actual print size.
300% Displays a single page at 300% of actual print size.

A ZoomIndex value of zero (0) indicates a nonstandard zoom factor is specified. Nonstandard zoom factors may be specified when the AllowUserZoom property is True. The UserPercentile property contains the nonstandard zoom factor.

See Also:     AllowUserZoom, PagesAcross, PagesDown, UserPercentile, SetZoomPercentile

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