IPXC_FontEnumCallback::OnNewFont Method

From PDF XChange PDF SDK
Revision as of 03:40, 13 December 2016 by Palamar (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


This method is called when new font is being found on the document's page.

Syntax

HRESULT OnNewFont([in]           IPXC_Font*     pFont,
                  [out, retval]  VARIANT_BOOL*  bCancel);

Parameters

pFont
[in] Pointer to IPXC_Font containing the new font.
bCancel
[out, retval] Pointer to VARIANT_BOOL that can be used to cancel the enumeration process.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXC_FontEnumCallback