ImageGear Professional for Windows ActiveX
CreatePDEFontFromSysFont Method

Description:

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.

Syntax:

      CreatePDEFontFromSysFont (SysFont As IGPDFSysFont, CreateFlags
As enumIGPDEFontCreateFlags, SnapshotName As IGPDFAtom,
MMDesignVector As IGIntegerArray) As IGPDEFont

Parameters:

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.

Return Value:

IGPDEFont Object

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback