Vcl.Graphics.TTextFormat

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

type TTextFormat = set of TTextFormats;

C++

typedef System::Set<TTextFormats, TTextFormats::tfBottom, TTextFormats::tfComposited> TTextFormat;

Properties

Type Visibility Source Unit Parent
set
typedef
public
System.UITypes.pas
Vcl.Graphics.hpp
Vcl.Graphics Vcl.Graphics

Description

TTextFormat indicates how a text viewer control displays its contents.

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.