Skip to main content

TdxSpreadSheetContainers.FindCommentContainer(Integer,Integer,Untyped) Method

Returns a comment container by its specified cell object.

Declaration

function FindCommentContainer(ARow: Integer; AColumn: Integer; out AContainer): Boolean; overload;

Parameters

Name Type
ARow Integer
AColumn Integer
AContainer

Returns

Type
Boolean

Remarks

Use this function to obtain a floating comment container whose cell object is passed as the ACell parameter. Alternatively, the overloaded variant allows you to specify a cell object by its row and column indexes as the ARow and AColumn parameters, respectively.

The first overloaded variant of the FindCommentContainer function returns the found comment container as a generic floating container object. If no comment container is found, the function returns nil.

Like in the Add function case, the second and third overloaded variants of the FindCommentContainer function return the actual container object like the AContainer parameter.

See Also