ExcelCommentObject module

class ExcelCommentObject.ExcelCommentObject

Bases: SpireObject, IComment

property AlternativeText: str
<summary>

Alternative text.

</summary>

property Author: str
<summary>

Gets or sets the author of the comment.

</summary>

property AutoSize: bool
<summary>
Indicates whether the size of the specified object is changed automatically

to fit text within its boundaries. Read/write Boolean.

</summary>

property Column: int
<summary>

Column of the commented range.

</summary>

property Fill: IShapeFill
property Glow: IGlow
property HAlignment: CommentHAlignType
property Height: int
<summary>

Height of comment.

</summary>

property HtmlString: str
<summary>

Gets and sets the html string which contains data and some formattings in this shape.

</summary>

property ID: int
property IsLockAspectRatio: bool
property IsLocked: bool
property IsPrintable: bool
property IsSmartArt: bool
property IsTextLocked: bool
property IsVisible: bool
<summary>

Indicates whether the comment is visible.

</summary>

property Left: int
<summary>

Position of left

</summary>

property Line: IShapeLineFormat
property LinkedCell: IXLSRange
property Name: str
<summary>

Name of object.

</summary>

property OnAction: str
property Parent: SpireObject
property Reflection: IReflectionEffect
Remove()
<summary>

Removes comment.

</summary>

property ResizeBehave: ResizeBehaveType
<summary>

Specifies all possible settings for how drawing object shall be resized when the rows and columns between its start and ending anchor are resized or inserted.

</summary>

property RichText: IRichTextString
property Rotation: int
<summary>

Returns or sets the rotation of the shape, in degrees.

</summary>

property Row: int
<summary>

Row of the commented range.

</summary>

Scale(scaleWidth: int, scaleHeight: int)
<summary>

Scales all comments.

</summary> <param name=”scaleWidth”>Width scale in percents.</param> <param name=”scaleHeight”>Height scale in percents.</param>

SetCommentLocation(isMoveWithCell: bool, isSizeWithCell: bool)
property Shadow: IShadow
property ShapeType: ExcelShapeType
<summary>

Shape type of object.

</summary>

property Text: str
<summary>

Comment text

</summary>

property TextFrame: ITextFrame
property TextRotation: TextRotationType
property ThreeD: IFormat3D
property Top: int
<summary>

Top of object.

</summary>

property VAlignment: CommentVAlignType
property Visible: bool
property Width: int
<summary>

Width of object.

</summary>