RAD Studio VCL Reference
|
Indicates which of the properties of the TTextAttributes object are consistent throughout the text of the current selection in the rich edit object.
property ConsistentAttributes: TConsistentAttributes;
__property TConsistentAttributes ConsistentAttributes;
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 |
caBold |
Characters are consistently either bold or not bold throughout the selection. |
caColor |
The color of character font is consistent throughout the selection. |
caFace |
The typeface of the character font is consistent throughout the selection. |
caItalic |
Characters are consistently either italic or not italic throughout the selection. |
caSize |
The size of the character font is consistent throughout the selection. |
caStrikeOut |
Characters consistently either have the strikeout style or they do not have the strikeout style throughout the selection. |
caUnderline |
Characters are consistently either underlined or not underlined throughout the selection. |
caProtected |
Text is consistently either protected or not protected. |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|