Viewer.ReviewerColor property (Visio Viewer)

Gets the color of the markup overlay associated with the specified reviewer in the drawing open in Microsoft Visio Viewer. Read-only.

Syntax

expression.ReviewerColor (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

OLE_COLOR

Remarks

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.

Example

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)

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.