title | api_name | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|
Viewer.ReviewerColor property (Visio Viewer) |
|
6ec6b962-fc19-1fec-2482-836ab71ece90 |
06/21/2019 |
medium |
Gets the color of the markup overlay associated with the specified reviewer in the drawing open in Microsoft Visio Viewer. Read-only.
expression.ReviewerColor (ReviewerIndex)
expression An expression that returns a Viewer object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
ReviewerIndex | Required | Long | The index of the reviewer in the collection of reviewers. |
OLE_COLOR
The property returns a value of data type OLE_COLOR that represents the color of the markup overlay associated with the specified reviewer in Visio Viewer. The OLE_COLOR data type is used for properties that return colors.
Valid hexadecimal values for an OLE_COLOR data type in Visio Viewer are of the form &Hbbggrr, where bb is the blue value, gg the green value, and rr the red value. All three color values range between 00 and FF hexadecimal (255 decimal).
The collection of reviewers is one-based, so the index of the first reviewer in the collection is 1.
The following code gets the color of the markup overlay of the reviewer at index position 1 in the collection of reviewers in the drawing open in Visio Viewer.
Debug.Print vsoViewer.ReviewerColor(1)
[!includeSupport and feedback]