Class EmfPlusFont
Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects
Assembly: Aspose.Imaging.dll (25.7.0)
The EmfPlusFont object specifies properties that determine the appearance of text, includingtypeface, size, and style.
public sealed class EmfPlusFont : EmfPlusGraphicsObjectType
{
public const short cttFontType = 0x0001; // Font type: TrueType
public const short cttFontTypeAnsi = 0x0002; // Font type: TrueType (ANSI)
public const short cttFontTypeUnicode = 0x0003; // Font type: TrueType (Unicode)
}
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 thefont 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 containsthe 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 thecharacter glyphs that affect the appearance of the font,such as bold and italic. This value MUST be composed ofFontStyle 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 forthe EmSize field. These are typically the units that wereemployed when designing the font. The value MUST be in theUnitType enumeration (section 2.1.1.33).
public EmfPlusUnitType sizeUnit { get; set; }