Annotation

Annotation class

Contains elements that contain information about comments inserted into a document page.

Properties

NameTypeDescription
ShapeIDintThe shape ID of the comment.
IXintThe zero-based index of the element within its parent element.
DelintA flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
XDoubleValueThe x-coordinate of the comment marker in page coordinates.
YDoubleValueThe y-coordinate of the comment marker in page coordinates.
ReviewerIDIntValueContains the ID number of the reviewer adding markup to the document.
MarkerIndexIntValueSpecifies the index number assigned to a comment marker.
DateDateValuespecifies when a comment was created
EditDateDateValueSpecifies when a comment was last changed
CommentStr2ValueContains the comment text in string format for a shape.
LangIDIntValueIndicates the locale ID (LCID) of the language in which the cell formula, text, custom property, or comment was entered.

Annotation.ShapeID property

The shape ID of the comment.

Type: int

Annotation.IX property

The zero-based index of the element within its parent element.

Type: int

Annotation.Del property

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.

Type: int

Annotation.X property

The x-coordinate of the comment marker in page coordinates.

Type: DoubleValue

Annotation.Y property

The y-coordinate of the comment marker in page coordinates.

Type: DoubleValue

Annotation.ReviewerID property

Contains the ID number of the reviewer adding markup to the document.

Type: IntValue

Annotation.MarkerIndex property

Specifies the index number assigned to a comment marker.

Type: IntValue

Annotation.Date property

specifies when a comment was created

Type: DateValue

Annotation.EditDate property

Specifies when a comment was last changed

Type: DateValue

Annotation.Comment property

Contains the comment text in string format for a shape.

Type: Str2Value

Annotation.LangID property

Indicates the locale ID (LCID) of the language in which the cell formula, text, custom property, or comment was entered.

Type: IntValue