TrvActionFonts.Font

<< Click to display table of contents >>

TrvActionFonts.Font

Specifies the font for applying to the selected text.

type

  TRVAFont = class(TFont);

property Font: TRVAFont;

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 (in TrvActionFontEx, it is overridden by FontSizeDouble; when you assign Size, the action's FontSizeDouble is changed accordingly)

Charset

Style

Color