Description:
Creates a PDE Font from SysFont and SysEncoding. If it fails, it returns NULL. User can use IGPDEFont Object.CreateNeedFlags Property to see if the combination of SysFont and SysEncoding makes sense.
Syntax:
CreatePDEFontFromSysFontAndEncoding (SysFont As IGPDFSysFont,
SysEncoding As IGPDFSysEncoding, UseThisBaseFont As IGPDFAtom,
CreateFlags As enumIGPDEFontCreateFlags) As IGPDEFont
Parameters:
Name |
Description |
SysFont |
PDF system font object referencing a system font. |
SysEncoding |
A PDF SysEncoding object. |
UseThisBaseFont |
The base font. An error will be set if the base font name passed is a subset name (XXXXXX+FontName) or an empty string. |
CreateFlags |
One of the enumIGPDEFontCreateFlags values. |
Return Value:
IGPDEFont Object