共用方式為


FONTCOLORPREFERENCES Struct

Definition

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

public value class FONTCOLORPREFERENCES
struct FONTCOLORPREFERENCES
[System.Runtime.InteropServices.ComConversionLoss]
public struct FONTCOLORPREFERENCES
[<System.Runtime.InteropServices.ComConversionLoss>]
type FONTCOLORPREFERENCES = struct
Public Structure FONTCOLORPREFERENCES
Inheritance
FONTCOLORPREFERENCES
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