FONTCOLORPREFERENCES2 Structure

Specifies color table preferences to be used when painting text or markers.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

public struct FONTCOLORPREFERENCES2

The FONTCOLORPREFERENCES2 type exposes the following members.

  NameDescription
Public methodEqualsIndicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from ValueType.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)
Top

  NameDescription
Public fieldhBoldViewFontBold fonts that are used by text views.
Public fieldhRegularViewFontRegular fonts that are used by text views.
Public fieldpColorTableCOM pointer to the color table for the colorable item provider indicated by *pguidColorService. This object is created as a result of this call if it has not been created already. This pointer is guaranteed to be valid if the FONTCOLORPREFERENCES structure is an [in] parameter to a function. If you want to hold onto it beyond that you must AddRef (and later Release) it.
Public fieldpguidColorCategoryGUID of the category to be used for the editor's color settings. The editor can handle separate categories for fonts and colors.
Public fieldpguidColorServiceCLSID of an IVsProvideColorableItems implementor.
Public fieldpguidFontCategoryGUID of the category to be used for the editor's font settings. The editor can handle separate categories for fonts and colors.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft