IPXV_Inst::GetAnnotHandler Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 9: Line 9:
 
== Syntax ==
 
== Syntax ==
 
<pre class="brush:cpp;gutter:false">HRESULT GetAnnotHandler([in]          IPXC_Annotation*    pAnnot,
 
<pre class="brush:cpp;gutter:false">HRESULT GetAnnotHandler([in]          IPXC_Annotation*    pAnnot,
                         [out, retval]  IPXV_AnnotHandler**  ppHandler);</pre>
+
                         [out, retval]  IPXV_AnnotHandler**  pHandler);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;pAnnot
 
;pAnnot
 
:[in]  Pointer to [[PXV:IPXC_Annotation|IPXC_Annotation]].
 
:[in]  Pointer to [[PXV:IPXC_Annotation|IPXC_Annotation]].
;ppHandler
+
;pHandler
 
:[out, retval]  Returns pointer to [[PXV:IPXV_AnnotHandler|IPXV_AnnotHandler]] object.
 
:[out, retval]  Returns pointer to [[PXV:IPXV_AnnotHandler|IPXV_AnnotHandler]] object.
  

Revision as of 01:39, 4 June 2015


Returns corresponding annotation-handler (in other terms - Tool) object for specified PDF-annotation when it registered for such kind of annotations.

Syntax

HRESULT GetAnnotHandler([in]           IPXC_Annotation*     pAnnot,
                        [out, retval]  IPXV_AnnotHandler**  pHandler);

Parameters

pAnnot
[in] Pointer to IPXC_Annotation.
pHandler
[out, retval] Returns pointer to IPXV_AnnotHandler object.

Return Value

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

See Also

IPXV_Inst, IPXV_Inst::RegisterTool