TPlusMemo.AltFont property
PlusMemo Help Send comments on this topic.
TPlusMemo.AltFont property

Glossary Item Box

 

Applies to

TPlusMemo, TDBPlusMemo

 

Declaration

property AltFont: TFont

 

Description

The AltFont property determines the font used for text marked with alternate font attribute.  It is available at design time and runtime.  

 

Only the font name and size/height are significant: font styles and color are those of the main Font of the TPlusMemo, even for text marked with alternate font attribute, unless it is also marked with different style.

 

If AltFont has a size bigger than Font, the upper part of characters may be truncated as the line height is not adjusted for individual lines that contain alternate font text.

 

When assigning a new value to AltFont, a text formatting will occur that will trigger OnProgress events at regular intervals.