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

Viewer.HyperlinkCount Property (Visio Viewer)

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

Gets the count of hyperlinks associated with the shape at the specified index in the document open in Microsoft Visio Viewer. Read-only.

Syntax

expression. HyperlinkCount( ShapeIndex)

_expression_An expression that returns a Viewer object.

Parameters

NameRequired/OptionalData TypeDescription
ShapeIndexRequiredLongThe index of the specified shape in the collection of shapes in the drawing open in Visio Viewer.

Return Value

Long

Remarks

The collection of shapes is one-based, so the index of the first shape in the collection is 1.

Example

The following code gets the count of hyperlinks associated with the first shape in the collection of shapes in the drawing open in Visio Viewer.

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