Class to represent a font object. More...
Public Member Functions | |
String^ | GetName () |
Retrieve the face name. More... | |
Boolean | Release () |
Release resources of current font object. More... | |
Static Public Member Functions | |
static Font^ | Create (String^ fontName, UInt32 fontStyles, Int32 weight, FontCharset charset) |
Create a new font with given attribute. More... | |
static Font^ | CreateStandard (StandardFontID fontID) |
Create a new standard font by a standard font ID. More... | |
Properties | |
Int64 | pointer |
Pointer to a handle of PDF font object. This pointer is not useful outside this SDK. The application should not access the pointer to the handle of the PDF font object directly. | |
Class to represent a font object.
|
static |
Create a new font with given attribute.
[in] | fontName | A String object that specifies the typeface name of the font to be created. |
[in] | fontStyles | Font styles. Please refer to enumeration Foxit::FontStyles and this can be one or combination of its values. |
[in] | weight | Original font weight. 0 means unspecified. |
[in] | charset | The charset of the font to be created. Please refer to enumeration Foxit::FontChaset and this should be one of its values. |
|
static |
Create a new standard font by a standard font ID.
[in] | fontID | Standard font ID of the font to be created. Please refer to enumeration Foxit::StandardFontID and this should be one of its values. |
String ^ Foxit::Font::GetName | ( | ) |
Retrieve the face name.
Boolean Foxit::Font::Release | ( | ) |
Release resources of current font object.