Options Page, Fonts and Colors Node Properties
For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.
For the latest documentation on Visual Studio 2017, see Options Page, Fonts and Colors Node Properties on docs.microsoft.com. 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 Name | Value | Description |
|---|---|---|
| FontFamily | Get/Set (String) | The font name to use, such as "Courier New." |
| FontCharacterSet | Get/Set (vsFontCharSet) | A vsFontCharSet value, specifying the type of character set to use, such as Hebrew or Russian. |
| FontSize | Get/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