Comment Class
Contents
[
Hide
]Comment class
Encapsulates the object that represents a cell comment.
type Comment struct {
ptr unsafe.Pointer
}
Constructors
| Method | Description |
|---|
Methods
| Method | Description |
|---|---|
| IsNull | Checks whether the implementation object is nullptr. |
| GetAuthor | Gets and sets Name of the original comment author |
| SetAuthor | Gets and sets Name of the original comment author |
| GetCommentShape | Get a Shape object that represents the shape attached to the specified comment. |
| GetRow | Gets the row index of the comment. |
| GetColumn | Gets the column index of the comment. |
| IsThreadedComment | Indicates whether this comment is a threaded comment. |
| GetThreadedComments | Gets the list of threaded comments; |
| GetNote | Represents the content of comment. |
| SetNote | Represents the content of comment. |
| GetHtmlNote | Gets and sets the html string which contains data and some formats in this comment. |
| SetHtmlNote | Gets and sets the html string which contains data and some formats in this comment. |
| GetFont | Gets the font of comment. |
| FormatCharacters | Format some characters with the font setting. |
| Characters | Returns a Characters object that represents a range of characters within the comment text. |
| GetRichFormattings | Returns all Characters objectsthat represents a range of characters within the comment text. |
| IsVisible | Represents if the comment is visible or not. |
| SetIsVisible | Represents if the comment is visible or not. |
| GetTextOrientationType | Gets and sets the text orientation type of the comment. |
| SetTextOrientationType | Gets and sets the text orientation type of the comment. |
| GetTextHorizontalAlignment | Gets and sets the text horizontal alignment type of the comment. |
| SetTextHorizontalAlignment | Gets and sets the text horizontal alignment type of the comment. |
| GetTextVerticalAlignment | Gets and sets the text vertical alignment type of the comment. |
| SetTextVerticalAlignment | Gets and sets the text vertical alignment type of the comment. |
| GetAutoSize | Indicates if size of comment is adjusted automatically according to its content.Note: In some special cases (such as Mac environment), this setting may not take effect. If this setting does not take effect, please replace it with FitToTextSize(). |
| SetAutoSize | Indicates if size of comment is adjusted automatically according to its content.Note: In some special cases (such as Mac environment), this setting may not take effect. If this setting does not take effect, please replace it with FitToTextSize(). |
| GetHeightCM | Represents the height of the comment, in unit of centimeters. |
| SetHeightCM | Represents the height of the comment, in unit of centimeters. |
| GetWidthCM | Represents the width of the comment, in unit of centimeters. |
| SetWidthCM | Represents the width of the comment, in unit of centimeters. |
| GetWidth | Represents the width of the comment, in unit of pixels. |
| SetWidth | Represents the width of the comment, in unit of pixels. |
| GetHeight | Represents the Height of the comment, in unit of pixels. |
| SetHeight | Represents the Height of the comment, in unit of pixels. |
| GetWidthInch | Represents the width of the comment, in unit of inches. |
| SetWidthInch | Represents the width of the comment, in unit of inches. |
| GetHeightInch | Represents the height of the comment, in unit of inches. |
| SetHeightInch | Represents the height of the comment, in unit of inches. |