VisWebPageSettings.PanAndZoom property

Determines whether the Pan and Zoom control for zooming in and out of the page is displayed on a webpage. Read/write.

Syntax

expression.PanAndZoom

expression An expression that returns a VisWebPageSettings object.

Return value

Long

Remarks

PanAndZoom returns non-zero (True) if the Pan and Zoom control is displayed after the drawing is exported to a webpage; otherwise, it returns zero (False). The default is True.

Set PanAndZoom to a non-zero value (True) to display the Pan and Zoom control after the drawing is exported to a webpage; otherwise, set it to zero (False).

The PanAndZoom property corresponds to the Pan and Zoom check box under Publishing Options on the General tab of the Save As Web Page dialog box (BackstageButton tab > Save As > Save as type list > Web Page (*.htm;*.html) > Publish).

Note

The Pan and Zoom control is supported for the VML output format in Microsoft Internet Explorer 5 and later. The Pan and Zoom control is not available in SVG, JPG, GIF, and PNG output formats.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.