public final class EmfPlusFont extends EmfPlusGraphicsObjectType
The EmfPlusFont object specifies properties that determine the appearance of text, including typeface, size, and style.
Constructor and Description |
---|
EmfPlusFont() |
Modifier and Type | Method and Description |
---|---|
float |
getEmSize()
Gets or sets a 32-bit floating-point value that specifies the em size of the
font in units specified by the SizeUnit field.
|
String |
getFamilyName()
Gets or sets a string of Length Unicode characters that contains
the name of the font family
|
int |
getFontStyleFlags()
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.
|
int |
getSizeUnit()
Gets or sets a 32-bit unsigned integer that specifies the units used for
the EmSize field.
|
void |
setEmSize(float value)
Gets or sets a 32-bit floating-point value that specifies the em size of the
font in units specified by the SizeUnit field.
|
void |
setFamilyName(String value)
Gets or sets a string of Length Unicode characters that contains
the name of the font family
|
void |
setFontStyleFlags(int value)
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.
|
void |
setSizeUnit(int value)
Gets or sets a 32-bit unsigned integer that specifies the units used for
the EmSize field.
|
getVersion, setVersion
public String getFamilyName()
Gets or sets a string of Length Unicode characters that contains the name of the font family
public void setFamilyName(String value)
Gets or sets a string of Length Unicode characters that contains the name of the font family
public int getFontStyleFlags()
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 void setFontStyleFlags(int value)
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 int getSizeUnit()
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 void setSizeUnit(int value)
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 float getEmSize()
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 void setEmSize(float value)
Gets or sets a 32-bit floating-point value that specifies the em size of the font in units specified by the SizeUnit field.