次の方法で共有


IVsFontAndColorUtilities Members

Include Protected Members
Include Inherited Members

Provides tools for working with the input and output data used by the methods of the Visual StudioFont and Color mechanism.

The IVsFontAndColorUtilities type exposes the following members.

Methods

  Name Description
Public method CopyFontInfo Copies font information from one FontInfo object into another.
Public method CopyItemInfo Copies information contained in one AllColorableItemInfo object to another AllColorableItemInfo object.
Public method EncodeAutomaticColor Returns the current value of the Visual Studio session automatic color as an RGB (COLORREF) value.
Public method EncodeIndexedColor Translates a member of the COLORINDEX enumeration into its RGB (COLORREF) color value equivalent.
Public method EncodeInvalidColor Returns a RGB (COLORREF) color value corresponding to the system defined invalid color.
Public method EncodeSysColor Returns a RGB (COLORREF) color value corresponding to a specified system color component.
Public method EncodeTrackedItem Returns a RGB (COLORREF) color value corresponding to a color tracked in the Visual Studio environment.
Public method EncodeVSColor Returns the COLORREF equivalent of a __VSSYSCOLOREX color.
Public method FreeFontInfo Free all data in a contained FontInfo object.
Public method FreeItemInfo Free all data in a contained AllColorableItemInfo object
Public method GetColorType Obtain the type of color representation in a COLORREF.
Public method GetEncodedIndex Obtain a valid member of the COLORINDEX enumeration corresponding to a supplied COLORREF.
Public method GetEncodedSysColor Obtain a System Color service index corresponding to a supplied COLORREF.
Public method GetEncodedVSColor Obtain a valid member of the __VSSYSCOLOREX enumeration corresponding to a supplied COLORREF.
Public method GetRGBOfEncodedColor Obtain the RGB value of a created tracking or indexed COLORREF representation of a color.
Public method GetRGBOfIndex Obtain the RGB value corresponding to a valid member of the COLORINDEX enumeration.
Public method GetRGBOfItem Obtain the RGB (COLORREF) values of the foreground and background color of a Font and Color Category from an instance of AllColorableItemInfo.
Public method GetTrackedItemIndex Obtain the index of a tracked color as represented by a COLORREF and a member of the __VSCOLORASPECT indicated if the color was used in the foreground or background.
Public method InitFontInfo Initializes a FontInfo object to a default state.
Public method InitItemInfo Initializes an AllColorableItemInfo object to a default state.

Top

See Also

Reference

IVsFontAndColorUtilities Interface

Microsoft.VisualStudio.Shell.Interop Namespace