Table of Contents

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.
DefaultFillColor​System Default color used in the comments, as a system color.
DefaultLineColor​System Default color used in the comments, as a system color.
ObjId Object Id if there is one.

Constructors

Methods

Name Description
Clone Returns a deep copy of the object.
CreateStandard Creates a standard yellow comment of standard height and width for the cell at row, col.

Properties

Name Description
AutoSize If true, the comment box will adapt its size to the size of the text.
AutoTextMargins If true, the comment will use automatic margins around the text, instead of what is set in TShapeOption.​dxText​Left, TShapeOption.​dxText​Right, TShapeOption.​dyTextTop and TShapeOption.​dyText​Bottom.
By default comments have automatic margins.
Hidden If true, the comment box will be hidden (this is the default).
TextProperties Properties of the text in the object.