Vcl.ComCtrls.TTextAttributes.Pitch
Delphi
property Pitch: TFontPitch read GetPitch write SetPitch;
C++
__property System::Uitypes::TFontPitch Pitch = {read=GetPitch, write=SetPitch, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TTextAttributes |
Description
Indicates the font Pitch (default, variable, or fixed).
Each typeface has an associated pitch. The characters in fixed-pitch fonts are all the same width. The characters in variable-pitch fonts differ in width. Fixed pitch fonts are generally used for representing source code because they allow the indentation to line up properly. Variable pitch fonts are generally used to give the text a more natural appearance.
Here are the possible values for Pitch:
Value | Meaning |
---|---|
fpDefault |
The font pitch is set to the default value, which depends on the font specified in the Name property. |
fpFixed |
The font pitch is set to fixed. All characters in the font have the same width. |
fpVariable |
The font pitch is set to a variable. The characters in the font have different widths. |