RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Graphics.TTextFormat Type

TTextFormat indicates how a text viewer control displays its contents.

Pascal
TTextFormat = set of TTextFormats;
C++
TTextFormats TTextFormat;

Graphics

TTextFormat has the following values:

Value 
Meaning 
tfAutoText  
The control attempts to determine whether Text contains rich text. If a valid tag is seen on the first line, Text is assumed to be a rich text document. Otherwise, Text is displayed as plain text.  
tfText  
The control assumes that Text contains rich text, even if no tags are present. Note that in rich text, any sequence consisting entirely of spaces, tabs, and line breaks counts as a single space.  
tfPlainText  
The control assumes that Text contains plain text.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!