IPXV_Inst::GetAnnotHandler Method

From PDF XChange PDF SDK
Jump to: navigation, search


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