Share via


PanAndZoom Property

Visio Save As Web Reference

Determines whether the Pan and Zoom control for zooming in and out of the page is displayed in a Web page. 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 Web page; 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 Web page; 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 (on the File menu, click Save as Web Page, and then click Publish).

Aa463368.vs_note(en-us,office.12).gif  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.

See Also