ImageEn, unit iexRichEdit

TIETextAttributes.ConsistentAttributes

TIETextAttributes.ConsistentAttributes

Declaration

property ConsistentAttributes: TIEConsistentAttributes;

Description

Returns the set of attributes that are consistent across the current selection. If the selection contains mixed formatting, only the consistent attributes will be included in this set.

Example

// Check if bold is consistent across selection
if caBold in IERichEdit1.SelAttributes.ConsistentAttributes then
  ShowMessage('All selected text has the same bold state');