Vcl.ComCtrls.TTextAttributes.ConsistentAttributes
Delphi
property ConsistentAttributes: TConsistentAttributes read GetConsistentAttributes;
C++
__property TConsistentAttributes ConsistentAttributes = {read=GetConsistentAttributes, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TTextAttributes |
Description
Indicates which of the properties of the TTextAttributes object are consistent throughout the text of the current selection in the rich edit object.
Read the ConsistentAttributes of the SelAttributes property of a rich text object to discover which of the properties of the TTextAttributes are meaningful for the current selection. This information is relevant if you want to then read the text characteristics of the current selection. Setting a property of TTextAttributes will cause that property to become a consistent attribute until the selection changes.
ConsistentAttributes is a set drawn from the following values:
Value | Meaning |
---|---|
caBackColor |
The background color of the text is consistent throughout the selection. |
caBold |
Characters are consistently either bold or not bold throughout the selection. |
caCharset |
The current selection has a consistent character set throughout. |
caColor |
The color of the character font is consistent throughout the selection. |
caDisabled |
Characters are consistently disabled throughout the selection. |
caFace |
The typeface of the character font is consistent throughout the selection. |
caHidden |
Characters are consistently hidden throughout the selection. |
caItalic |
Characters are consistently either italic or not italic throughout the selection. |
caLink |
Characters are consistently converted or unconverted to link format. |
caOffSet |
Characters are consistently converted or unconverted to offset. |
caProtected |
Text is consistently either protected or not protected. |
caRevAuthor |
Selection has a consistent revision author index set throughout. |
caSize |
The size of the character font is consistent throughout the selection. |
caStrikeOut |
Characters consistently either have the strikeout style or do not have the strikeout style throughout the selection. |
caSubscript |
Characters are consistently either subscript or not subscript throughout the selection. |
caUnderline |
Characters are consistently either underlined or not underlined throughout the selection. |
caWeight |
Font weight is consistent throughout the selection. |