Class EmfPlusFont
Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects
Assembly: Aspose.Imaging.dll (25.2.0)
The EmfPlusFont object specifies properties that determine the appearance of text, including typeface, size, and style.
public sealed class EmfPlusFont : EmfPlusGraphicsObjectType
Inheritance
object ← MetaObject ← EmfPlusObject ← EmfPlusGraphicsObjectType ← EmfPlusFont
Inherited Members
EmfPlusGraphicsObjectType.Version, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
EmfPlusFont()
public EmfPlusFont()
Properties
EmSize
Gets or sets a 32-bit floating-point value that specifies the em size of the font in units specified by the SizeUnit field.
public float EmSize { get; set; }
Property Value
FamilyName
Gets or sets a string of Length Unicode characters that contains the name of the font family
public string FamilyName { get; set; }
Property Value
FontStyleFlags
Gets or sets a 32-bit signed integer that specifies attributes of the character glyphs that affect the appearance of the font, such as bold and italic. This value MUST be composed of FontStyle flags (section 2.1.2.4).
public EmfPlusFontStyleFlags FontStyleFlags { get; set; }
Property Value
SizeUnit
Gets or sets a 32-bit unsigned integer that specifies the units used for the EmSize field. These are typically the units that were employed when designing the font. The value MUST be in the UnitType enumeration (section 2.1.1.33).
public EmfPlusUnitType SizeUnit { get; set; }