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

Viewer.ReviewerColor Property (Visio Viewer)

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

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

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

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)
© 2018 Microsoft