다음을 통해 공유


CommentAuthor.ColorIndex Property

Definition

clrIdx

Represents the following attribute in the schema: clrIdx

[DocumentFormat.OpenXml.SchemaAttr(0, "clrIdx")]
public DocumentFormat.OpenXml.UInt32Value ColorIndex { get; set; }
public DocumentFormat.OpenXml.UInt32Value ColorIndex { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "clrIdx")]
public DocumentFormat.OpenXml.UInt32Value? ColorIndex { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("clrIdx")]
public DocumentFormat.OpenXml.UInt32Value? ColorIndex { get; set; }
public DocumentFormat.OpenXml.UInt32Value? ColorIndex { get; set; }
member this.ColorIndex : DocumentFormat.OpenXml.UInt32Value with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "clrIdx")>]
member this.ColorIndex : DocumentFormat.OpenXml.UInt32Value with get, set
[<DocumentFormat.OpenXml.SchemaAttr("clrIdx")>]
member this.ColorIndex : DocumentFormat.OpenXml.UInt32Value with get, set
Public Property ColorIndex As UInt32Value

Property Value

Returns UInt32Value.

Attributes

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

This attribute specifies an index into the generating application's comments color table to allow for visual (color) differentiation of different author's comments. This color is used for all comments by this author. If more authors exist than there are entries in the color table, the color index wraps around to the beginning of the table.

It is left entirely up to the generating application to determine the amount of colors used in the comments color table and in what order these will be used when rendering comments on a slide surface.

The possible values for this attribute are defined by the XML Schema unsignedInt datatype.

Applies to