FontInfo Structure
Provides a basic definition of any font used by a category of Display Items.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Public Structure FontInfo
public struct FontInfo
public value class FontInfo
[<Sealed>]
type FontInfo = struct end
JScript supports the use of structures, but not the declaration of new ones.
The FontInfo type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Fields
Name | Description | |
---|---|---|
bCharSetValid | A setting of true indicates that the character set is valid. | |
bFaceNameValid | A setting of true indicates that the face name is valid. | |
bPointSizeValid | A setting of true indicates that the point size is valid. | |
bstrFaceName | String containing the name of the font. | |
iCharSet | Integer containing the character set, (e.g., RUSSIAN_CHARSET). | |
wPointSize | Specifies the point size of the font. |
Top
Remarks
The bFaceNameValid, bPointSizeValid, bCharSetValid flags indicate which values have been changed by users. If a value hasn't changed, its flag will be false.
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.