IPXC_FontEnumCallback::OnNewFont Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
{{ToWrite}}
+
{{#customTitle:IPXC_FontEnumCallback::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 ==
 +
<pre class="brush:cpp;gutter:false">HRESULT OnNewFont([in]          IPXC_Font*    pFont,
 +
                  [out, retval]  VARIANT_BOOL*  bCancel);</pre>
 +
 +
== Parameters ==
 +
;pFont
 +
:[in]  Pointer to [[PXV:IPXC_Font|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 ==
 +
[[PXV:IPXC_FontEnumCallback|IPXC_FontEnumCallback]]

Latest revision as of 03: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.

See Also

IPXC_FontEnumCallback