Partilhar via


FontStyleSetInfo Class

Definition

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.

public ref class FontStyleSetInfo : ICloneable
public class FontStyleSetInfo : ICloneable
type FontStyleSetInfo = class
    interface ICloneable
Public Class FontStyleSetInfo
Implements ICloneable
Inheritance
FontStyleSetInfo
Implements

Constructors

FontStyleSetInfo()

Properties

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)

Methods

Clone()

Method to create a new instance of this object with the same instance data.

Equals(Object, Object)

Determines whether the two specified objects are equal to each other

Equals(Object)

Determines whether the specified object is equal to this one. Only equal if all of their properties are equal.

GetHashCode()

Serves as a hash function for a BrushStyleSetInfo, suitable for use in hashing algorithms and data structures like a hash table.

Applies to