ImageGear Professional v18.2 > API Reference Guide > PDF Component API Reference > PDF Component Objects > General API > IGPDFCtl Control > IGPDFCtl Methods > CreatePDEFontFromSysFont Method |
Creates a PDE Font corresponding to a font in the system.
If the font is a multiple master font, MMDesignVector points to the design vector, whose length must equal the number of design axes of the font.
The enumIGPDEFontCreateFlags Enumeration flags IG_PDE_FONT_CREATE_EMBEDDED and IG_PDE_FONT_WILL_SUBSET must both be set in order to subset a font.
If you create a PDE Font that is subsetted, call IGPDEFont Object.SubsetNow on this font afterwards.
CreatePDEFontFromSysFont (SysFont As IGPDFSysFont, CreateFlags
As enumIGPDEFontCreateFlags, SnapshotName As IGPDFAtom,
MMDesignVector As IGIntegerArray) As IGPDEFont
Name | Description |
---|---|
SysFont | PDF system font object referencing a system font. |
CreateFlags | Indicates whether to embed the font and whether to subset the font. Must be one of enumIGPDEFontCreateFlags enumeration. If you want to subset a font, set both the IG_PDE_FONT_CREATE_EMBEDDED and IG_PDE_FONT_WILL_SUBSET flags. |
SnapshotName | Name to be associated with this particular instantiation of the PDE Font. |
MMDesignVector | Multiple master font design vector. |