Skip to content

Latest commit

 

History

History
51 lines (29 loc) · 1.6 KB

Visio.Viewer.ReviewerColor.md

File metadata and controls

51 lines (29 loc) · 1.6 KB
title api_name ms.assetid ms.date ms.localizationpriority
Viewer.ReviewerColor property (Visio Viewer)
Visio.Viewer.ReviewerColor
6ec6b962-fc19-1fec-2482-836ab71ece90
06/21/2019
medium

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)

[!includeSupport and feedback]