ReviewerName Property
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
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
ReviewerIndex |
Required |
Long |
The 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