ModernComment

ModernComment class

Represents a comment on a slide.

getShape

NameDescription
getShape ()Returns a shape associated with the comment. Read-only IShape.

Returns: PictureFrame, GeometryShape, Chart, AudioFrame, OleObjectFrame, InkActions, SmartArtShape, SummaryZoomSection, Table, LegacyDiagram, SummaryZoomFrame, SectionZoomFrame, Connector, Shape, GraphicalObject, Ink, SmartArt, AutoShape, ZoomObject, ZoomFrame, GroupShape, VideoFrame


getStatus

NameDescription
getStatus ()Gets or sets the status of the comment. Read/write ModernCommentStatus.

Returns: byte


getTextSelectionLength

NameDescription
getTextSelectionLength ()Gets or sets text selection length in text frame if the comment associated with AutoShape. Read/write int.

Returns: int


getTextSelectionStart

NameDescription
getTextSelectionStart ()Gets or sets starting position of text selection in text frame if the comment associated with AutoShape. Read/write int.

Returns: int


setStatus

NameDescription
setStatus (byte)Gets or sets the status of the comment. Read/write ModernCommentStatus.

setTextSelectionLength

NameDescription
setTextSelectionLength (int)Gets or sets text selection length in text frame if the comment associated with AutoShape. Read/write int.

setTextSelectionStart

NameDescription
setTextSelectionStart (int)Gets or sets starting position of text selection in text frame if the comment associated with AutoShape. Read/write int.