Skip to main content

TdxSpreadSheetTableView.DeleteComments(TRect) Method

Deletes all comment containers within the current selection or a designated cell range.

Declaration

procedure DeleteComments(const AArea: TRect); overload; virtual;

Parameters

Name Type
AArea TRect

Remarks

The first overloaded overloaded procedure variant deletes the focused comment container or all comments within the Selection.Area rectangle.

The second and third overloaded procedure variants delete comments within the designated area. The second variant accepts a reference to the target cell range (as a string in the A1 format), while the third variant accepts a TRect value that corresponds to a target cell range.

Note

The DeleteComments procedure variants delete only comments and ignore any other floating containers within the target area.

See Also