Click or drag to resize

ExcelComment Class

Represents a comment in an Excel worksheet.
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 ExcelComment : ExcelCommentObject

The ExcelComment type exposes the following members.

Properties
Name Description
Public property AlternativeText
Gets or sets the alternative text associated with the comment.
(Inherited from ExcelCommentObject .)
Public property Author
Gets or sets the author of the comment.
(Inherited from ExcelCommentObject .)
Public property AutoSize
Indicates whether the size of the specified object is changed automatically to fit text within its boundaries. Read/write Boolean.
(Inherited from ExcelCommentObject .)
Public property Column
Gets the column number associated with the comment.
(Inherited from ExcelCommentObject .)
Public property Fill
Gets the fill format of the comment.
(Inherited from ExcelCommentObject .)
Public property Glow
Gets the glow effect of the comment.
(Inherited from ExcelCommentObject .)
Public property HAlignment
Gets or sets the horizontal alignment of the comment.
(Inherited from ExcelCommentObject .)
Public property Height
Gets or sets the height of the comment.
(Inherited from ExcelCommentObject .)
Public property HtmlString
Gets or sets the HTML string associated with the comment.
(Inherited from ExcelCommentObject .)
Public property ID
Gets the ID of the comment.
(Inherited from ExcelCommentObject .)
Public property IsLockAspectRatio
Gets or sets a value indicating whether the aspect ratio of the comment is locked.
(Inherited from ExcelCommentObject .)
Public property IsLocked
Gets or sets a value indicating whether the comment is locked.
(Inherited from ExcelCommentObject .)
Public property IsPrintable
Gets or sets a value indicating whether the comment is printable.
(Inherited from ExcelCommentObject .)
Public property IsSmartArt
Indicates whether the object is a SmartArt shape.
(Inherited from ExcelCommentObject .)
Public property IsTextLocked
Gets or sets a value indicating whether the text is locked.
(Inherited from ExcelCommentObject .)
Public property IsVisible
Gets or sets the visibility of the comment.
(Inherited from ExcelCommentObject .)
Public property Left
Gets or sets the left position of the comment.
(Inherited from ExcelCommentObject .)
Public property Line
Gets the line format of the comment.
(Inherited from ExcelCommentObject .)
Public property LinkedCell
Gets or sets the linked cell of the range.
(Inherited from ExcelCommentObject .)
Public property Name
Gets or sets the name of the comment.
(Inherited from ExcelCommentObject .)
Public property OnAction
Gets or sets the action associated with the comment.
(Inherited from ExcelCommentObject .)
Public property Parent
Gets the parent object of the current instance.
(Inherited from ExcelCommentObject .)
Public property Reflection
Gets the reflection effect of the comment.
(Inherited from ExcelCommentObject .)
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.
(Inherited from ExcelCommentObject .)
Public property RichText
Gets the rich text representation of the current object.
Public property Rotation
Gets or sets the rotation of the comment,in degrees.
(Inherited from ExcelCommentObject .)
Public property Row
Gets the row number of the comment.
(Inherited from ExcelCommentObject .)
Public property Shadow
Gets the shadow of the comment.
(Inherited from ExcelCommentObject .)
Public property ShapeType
Gets or sets the shape type of the Excel shape.
(Inherited from ExcelCommentObject .)
Public property Text
Gets or sets the text associated with the comment.
(Inherited from ExcelCommentObject .)
Public property TextFrame
Gets the text frame of the comment.
(Inherited from ExcelCommentObject .)
Public property TextRotation
Gets or sets the rotation of the text in the comment.
(Inherited from ExcelCommentObject .)
Public property ThreeD
Gets the 3D formatting of the comment.
(Inherited from ExcelCommentObject .)
Public property Top
Gets or sets the top position of the comment.
(Inherited from ExcelCommentObject .)
Public property VAlignment
Gets or sets the vertical alignment of the comment.
(Inherited from ExcelCommentObject .)
Public property Visible
Gets or sets the visibility of the comment.
(Inherited from ExcelCommentObject .)
Public property Width
Gets or sets the width of the comment.
(Inherited from ExcelCommentObject .)
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 .
(Inherited from ExcelCommentObject .)
Public method Scale
Scales the comment based on the provided width and height.
(Inherited from ExcelCommentObject .)
Public method SetCommentLocation
Sets the location of the comment.
(Inherited from ExcelCommentObject .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also