Options Page, Fonts and Colors Node Properties

 

This document describes font and color properties for a tool window that is registered to appear under Fonts and Colors in the Environment category of the Options dialog box. This supports the dynamic nature of groups of colorable items, which can change if VSPackages are installed or uninstalled.

The following section shows an example of a registered window type and the properties that are available for each window.

DTE.Properties("FontsAndColors", "TextEditor")

-or-

DTE.Properties("FontsAndColors", "Printer")

-or-

DTE.Properties("FontsAndColors", "Dialogs and Tool Windows")

Property Item NameValueDescription
FontFamilyGet/Set (String)The font name to use, such as "Courier New."
FontCharacterSetGet/Set (vsFontCharSet)A vsFontCharSet value, specifying the type of character set to use, such as Hebrew or Russian.
FontSizeGet/Set (Short)The size of font to use, in points. For example, 10 or 12.

Controlling Options Settings
Determining the Names of Property Items on Options Pages
Options Page, Environment Node Properties
Options Page, Text Editor Node Properties

Show: