Skip to main content

TdxRichEditControlBase.IsSelectionInTable Method

Returns a value indicating whether the current selection is contained within a single table.

Declaration

function IsSelectionInTable: Boolean;

Returns

Type
Boolean

Remarks

This function returns True if there is a selected area within boundaries of one of the document’s tables. The IsSelectionInTable function returns False if one of the following conditions is met:

  • There are no tables within the current document;

  • There is no selected document content (as a result of calling the DeselectAll procedure, for instance);

  • The selected area expands beyond a single table’s boundaries.

See Also