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

Viewer.ReviewerName Property (Visio Viewer)

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

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

Syntax

expression. ReviewerName( ReviewerIndex)

_expression_An expression that returns a Viewer object.

Parameters

NameRequired/OptionalData TypeDescription
ReviewerIndexRequiredLongThe index of the reviewer in the collection of reviewers.

Return Value

String

Remarks

The collection of reviewers is one-based, so the index of the first reviewer in the collection is 1. If there are no reviewers in the drawing, or if you pass the index of a nonexistent reviewer, Visio Viewer returns an error.

Example

The following code gets the names of all reviewers in the drawing that is open in Visio Viewer.

Dim intCounter As Integer

    For intCounter = 1 To Viewer1.ReviewerCount

    Debug.Print Viewer1.ReviewerName(intCounter)

Next intCounter

© 2018 Microsoft