Skip to main content

TdxSpreadSheetContainers.AddCommentContainer(TdxSpreadSheetCell,Untyped) Method

Creates a new floating comment container attached to the specified cell object.

Declaration

procedure AddCommentContainer(ACell: TdxSpreadSheetCell; out AContainer); overload;

Parameters

Name Type
ACell TdxSpreadSheetCell
AContainer

Remarks

If the cell object passed as the ACell parameter, either has a comment container or is located within another Table View worksheet, the AddCommentContainer method raises the EdxSpreadSheetError exception.

As in the Add method case, the overloaded procedure’s AContainer parameter returns a container object of the actual type (a TdxSpreadSheetCommentContainer object) instead of a generic container object.

See Also