Table of contents
TOC
Collapse the table of content
Expand the table of content

Viewer.ToolbarButtons Property (Visio Viewer)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Gets or sets the buttons that are available in the toolbar in Microsoft Visio Viewer. Read/write.

Syntax

expression. ToolbarButtons

_expression_An expression that returns a Viewer object.

Return Value

String

Remarks

Use a comma-delimited list of button-name values. See the following table that maps button names (which you can determine by pausing the mouse pointer over a button) to button-name values.

The default list is "About,Sep,ZoomIn,ZoomOut,ZoomWidth,ZoomPage,Zoom100,Zoom,Sep,OpenInVisio,Sep,Props,Layers,Reviewing,Sep,Help".

Toolbar ButtonButton-Name Value
About Microsoft Office Visio ViewerAbout
Zoom InZoomIn
Zoom OutZoomOut
Zoom WidthZoomWidth
Zoom PageZoomPage
Zoom 100%Zoom100
ZoomZoom
Open in Microsoft Office VisioOpenInVisio
Properties and SettingsProps
Layer SettingsLayers
Markup SettingsReviewing
HelpHelp
SeparatorSep
First PageFirstPage
Previous PagePrevPage
Next PageNextPage
Last PageLastPage
Go To PageGoToPage

Example

The following code shows how to display the names of the current toolbar buttons in Visio Viewer in the Immediate window.

Debug.Print vsoViewer.ToolbarButtons
© 2018 Microsoft