Vcl.ComCtrls.TTextAttributes.InitFormat

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure InitFormat(var Format: TCharFormat2);

C++

void __fastcall InitFormat(Winapi::Richedit::_CHARFORMAT2W &Format);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TTextAttributes

Description

Initializes a Windows TCharFormat structure.

TTextAttributes uses the TCharFormat structure to communicate with the rich edit control window when it gets and sets properties. InitFormat initializes this structure before any particular properties are read or set. InitFormat is exposed as a protected method so that derived classes can use the TCharFormat structure in the implementation of any other text properties.

See Also