Freigeben über


FONTCOLORPREFERENCES2 Struct

Definition

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

public value class FONTCOLORPREFERENCES2
struct FONTCOLORPREFERENCES2
[System.Runtime.InteropServices.ComConversionLoss]
public struct FONTCOLORPREFERENCES2
[<System.Runtime.InteropServices.ComConversionLoss>]
type FONTCOLORPREFERENCES2 = struct
Public Structure FONTCOLORPREFERENCES2
Inheritance
FONTCOLORPREFERENCES2
Attributes

Fields

hBoldViewFont

Bold fonts that are used by text views.

hRegularViewFont

Regular fonts that are used by text views.

pColorTable

COM 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.

pguidColorCategory

GUID of the category to be used for the editor's color settings. The editor can handle separate categories for fonts and colors.

pguidColorService

CLSID of an IVsProvideColorableItems implementor.

pguidFontCategory

GUID of the category to be used for the editor's font settings. The editor can handle separate categories for fonts and colors.

Applies to