FontStyleSetInfo Class
Contains the StyleSet information about a font. These are all of the settings that be placed on a Font like Name, Size, FontStyle, etc. The information is used to create a unique hash code for this class which is used in the HybridDictionary for lookup of a particular cached resource.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.Diagrams.FontStyleSetInfo
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Class FontStyleSetInfo _
Implements ICloneable
public class FontStyleSetInfo : ICloneable
public ref class FontStyleSetInfo : ICloneable
type FontStyleSetInfo =
class
interface ICloneable
end
public class FontStyleSetInfo implements ICloneable
The FontStyleSetInfo type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FontStyleSetInfo |
Top
Properties
Name | Description | |
---|---|---|
Name | Gets or sets the name of the FontFamily object. | |
Size | Gets or sets the size of the font in world units (inches). A point is 1/72nd of an inch. | |
Style | Gets or sets the font's bold, italic, strikeout, and underline styles. | |
Units | Gets the unit of measure for this font (always GraphicsUnit.World) |
Top
Methods
Name | Description | |
---|---|---|
Clone | Method to create a new instance of this object with the same instance data. | |
Equals(Object) | Determines whether the specified object is equal to this one. Only equal if all of their properties are equal. (Overrides Object.Equals(Object).) | |
Equals(Object, Object) | Determines whether the two specified objects are equal to each other | |
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 | Serves as a hash function for a BrushStyleSetInfo, suitable for use in hashing algorithms and data structures like a hash table. (Overrides Object.GetHashCode().) | |
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 a string that represents the current object. (Inherited from Object.) |
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.