FONTCOLORPREFERENCES Structure
Specifies color table preferences to be used when painting text or markers.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Dichiarazione
Public Structure FONTCOLORPREFERENCES
public struct FONTCOLORPREFERENCES
public value class FONTCOLORPREFERENCES
[<Sealed>]
type FONTCOLORPREFERENCES = struct end
JScript supports the use of structures, but not the declaration of new ones.
The FONTCOLORPREFERENCES type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Fields
Name | Description | |
---|---|---|
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. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.