IPXC_FontEnumCallback::OnNewFont Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 3: | Line 3: | ||
{{#customTitle:IPXC_FontEnumCallback::OnNewFont Method}} | {{#customTitle:IPXC_FontEnumCallback::OnNewFont Method}} | ||
{{#parentPage:PXV:IPXC_FontEnumCallback#Methods|OnNewFont|method}} | {{#parentPage:PXV:IPXC_FontEnumCallback#Methods|OnNewFont|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | This method is called when new font is being found on the document's page. | |
== Syntax == | == Syntax == | ||
Line 14: | Line 13: | ||
== Parameters == | == Parameters == | ||
;pFont | ;pFont | ||
− | :[in] Pointer to [[PXV:IPXC_Font|IPXC_Font]]. | + | :[in] Pointer to [[PXV:IPXC_Font|IPXC_Font]] containing the new font. |
;bCancel | ;bCancel | ||
− | :[out, retval] Pointer to VARIANT_BOOL. | + | :[out, retval] Pointer to VARIANT_BOOL that can be used to cancel the enumeration process. |
== Return Value == | == Return Value == |
Latest revision as of 02:40, 13 December 2016
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.