IPXC_Document::EmbedFontSubset Method
From PDF XChange PDF SDK
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT EmbedFontSubset([in] PARAM_T hBaseFont,
[in] LONG cmapID,
[in] ULONG* pUni2GlyphMap,
[in] ULONG nMapLen,
[in] IBitSet* pUsedGlyphs,
[in] IBitSet* pUsedUnicodes,
[out, retval] IPXS_PDFVariant** pNewFontStream);
Parameters
- hBaseFont
- [in] Value of PARAM_T.
- cmapID
- [in] Value of LONG.
- pUni2GlyphMap
- [in] Pointer to ULONG.
- nMapLen
- [in] Value of ULONG.
- pUsedGlyphs
- [in] Pointer to IBitSet.
- pUsedUnicodes
- [in] Pointer to IBitSet.
- pNewFontStream
- [out, retval] Pointer to IPXS_PDFVariant.
Return Value
Returns S_OK if operation was successful or error code in other cases.