TrvActionFonts.Font

Top  Previous  Next

Specifies the font for applying to the selected text.

property Font: TFont;

If UserInterface=False, the action applies this property to the selected text. For TrvActionFontEx, only properties specified in ValidProperties are applied (a subset of rvfimFontName, rvfimSize, rvfimCharset, rvfimBold, rvfimItalic, rvfimUnderline, rvfimStrikeout, rvfimColor).

If UserInterface=True, the action displays a font dialog, assigns the chosen font to this property, and then applies this property to the selected text.

This property is applied to the following properties of text style (RVStyle.TextStyles[]):

FontName

Size

Charset

Style

Color


RichView © Sergey Tkachenko