Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxRichEditControlBase.IsSelectionInTable Method

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

#Declaration

Delphi
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