IPXV_DocSelectionHandler::IsSelHandler Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
{{#customTitle:IPXV_DocSelectionHandler::IsSelHandler Method}}
 
{{#customTitle:IPXV_DocSelectionHandler::IsSelHandler Method}}
 
{{#parentPage:PXV:IPXV_DocSelectionHandler#Methods|IsSelHandler|method}}
 
{{#parentPage:PXV:IPXV_DocSelectionHandler#Methods|IsSelHandler|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Checks if it's a selection handler for specified selection (firstly the implementer should check the [[PXV:IPXV_DocSelection_ID|ID]] property of the selection).
 
+
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT IsSelHandler([in]          IPXV_Document*      Doc,
+
<pre class="brush:cpp;gutter:false">HRESULT IsSelHandler([in]          IPXV_Document*      pDoc,
                     [in]          IPXV_DocSelection*  DocSel,
+
                     [in]          IPXV_DocSelection*  pDocSel,
                     [out, retval]  VARIANT_BOOL*      IsHandler);</pre>
+
                     [out, retval]  VARIANT_BOOL*      bIsHandler);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Doc
+
;pDoc
:[in]  Pointer to [[PXV:IPXV_Document|IPXV_Document]].
+
:[in]  Pointer to [[PXV:IPXV_Document|IPXV_Document]] containing the source document.
;DocSel
+
;pDocSel
:[in]  Pointer to [[PXV:IPXV_DocSelection|IPXV_DocSelection]].
+
:[in]  Pointer to [[PXV:IPXV_DocSelection|IPXV_DocSelection]] containing the document selection that should be checked.
;IsHandler
+
;bIsHandler
:[out, retval]  Pointer to VARIANT_BOOL.
+
:[out, retval]  Pointer to VARIANT_BOOL containing whether the selection handler is a handler for the specified selection.
  
 
== Return Value ==
 
== Return Value ==

Latest revision as of 00:37, 17 March 2016


Checks if it's a selection handler for specified selection (firstly the implementer should check the ID property of the selection).

Syntax

HRESULT IsSelHandler([in]           IPXV_Document*      pDoc,
                     [in]           IPXV_DocSelection*  pDocSel,
                     [out, retval]  VARIANT_BOOL*       bIsHandler);

Parameters

pDoc
[in] Pointer to IPXV_Document containing the source document.
pDocSel
[in] Pointer to IPXV_DocSelection containing the document selection that should be checked.
bIsHandler
[out, retval] Pointer to VARIANT_BOOL containing whether the selection handler is a handler for the specified selection.

Return Value

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

See Also

IPXV_DocSelectionHandler