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

Viewer.PageName Property (Visio Viewer)

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

Gets the name of the specified page in the drawing that is open in Microsoft Visio Viewer. Read-only.


expression. PageName( PageIndex)

_expression_An expression that returns a Viewer object.


NameRequired/OptionalData TypeDescription
PageIndexRequiredLongThe index of the page whose name you want to get.

Return Value



The collection of pages is one-based, so the index of the first page in the collection is 1.

If the local name of the specified page is different from the universal name, the PageName property returns the local name.


The following code gets the name of the page at index position 1 in the collection of pages in the drawing open in Visio Viewer.

Debug.Print vsoViewer.PageName(1)
© 2018 Microsoft