TCommentProperties Class
Holds the properties for a comment. This class is a descendant of TObjectProperties, and it adds specific behavior for a comment.
Syntax
Namespace: FlexCel.Core
public class TCommentProperties: TObjectProperties
Fields
| Name | Description |
|---|---|
| DefaultFillColorRGB | Default color used in the comments. |
| DefaultFillColorSystem | Default color used in the comments, as a system color. |
| DefaultLineColorSystem | Default color used in the comments, as a system color. |
| ObjId | Object Id if there is one. |
Constructors
Methods
| Name | Description |
|---|---|
| CreateStandard | Creates a standard yellow comment of standard height and width for the cell at row, col. |
| Clone | Returns a deep copy of the object. |
Properties
| Name | Description |
|---|---|
| TextProperties | Properties of the text in the object. |
| AutoSize | If true, the comment box will adapt its size to the size of the text. |
| Hidden | If true, the comment box will be hidden (this is the default). |
| AutoTextMargins | If true, the comment will use automatic margins around the text, instead of what is set in TShapeOption.dxTextLeft, TShapeOption.dxTextRight, TShapeOption.dyTextTop and TShapeOption.dyTextBottom. By default comments have automatic margins. |