Click or drag to resize

ExcelCommentObject Class

Represents an Excel comment object.
Inheritance Hierarchy
System Object
Spire.Xls ExcelCommentObject
Spire.Xls ExcelComment

Namespace: Spire.Xls
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public class ExcelCommentObject : ICommentShape, 
	IComment, ITextBoxShape, ITextBox, IExcelApplication, IShape

The ExcelCommentObject type exposes the following members.

Properties
Name Description
Public property AlternativeText
Gets or sets the alternative text associated with the comment.
Public property Author
Gets or sets the author of the comment.
Public property AutoSize
Indicates whether the size of the specified object is changed automatically to fit text within its boundaries. Read/write Boolean.
Public property Column
Gets the column number associated with the comment.
Public property Fill
Gets the fill format of the comment.
Public property Glow
Gets the glow effect of the comment.
Public property HAlignment
Gets or sets the horizontal alignment of the comment.
Public property Height
Gets or sets the height of the comment.
Public property HtmlString
Gets or sets the HTML string associated with the comment.
Public property ID
Gets the ID of the comment.
Public property IsLockAspectRatio
Gets or sets a value indicating whether the aspect ratio of the comment is locked.
Public property IsLocked
Gets or sets a value indicating whether the comment is locked.
Public property IsPrintable
Gets or sets a value indicating whether the comment is printable.
Public property IsSmartArt
Indicates whether the object is a SmartArt shape.
Public property IsTextLocked
Gets or sets a value indicating whether the text is locked.
Public property IsVisible
Gets or sets the visibility of the comment.
Public property Left
Gets or sets the left position of the comment.
Public property Line
Gets the line format of the comment.
Public property LinkedCell
Gets or sets the linked cell of the range.
Public property Name
Gets or sets the name of the comment.
Public property OnAction
Gets or sets the action associated with the comment.
Public property Parent
Gets the parent object of the current instance.
Public property Reflection
Gets the reflection effect of the comment.
Public property ResizeBehave
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.
Public property RichText
Gets the rich text string associated with the comment.
Public property Rotation
Gets or sets the rotation of the comment,in degrees.
Public property Row
Gets the row number of the comment.
Public property Shadow
Gets the shadow of the comment.
Public property ShapeType
Gets or sets the shape type of the Excel shape.
Public property Text
Gets or sets the text associated with the comment.
Public property TextFrame
Gets the text frame of the comment.
Public property TextRotation
Gets or sets the rotation of the text in the comment.
Public property ThreeD
Gets the 3D formatting of the comment.
Public property Top
Gets or sets the top position of the comment.
Public property VAlignment
Gets or sets the vertical alignment of the comment.
Public property Visible
Gets or sets the visibility of the comment.
Public property Width
Gets or sets the width of the comment.
Top
Methods
Name Description
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method Remove
Removes the comment .
Public method Scale
Scales the comment based on the provided width and height.
Public method SetCommentLocation
Sets the location of the comment.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also