IPXV_DocSelectionHandler::IsSelHandler Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(3 intermediate revisions 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}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | 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* pDoc, | <pre class="brush:cpp;gutter:false">HRESULT IsSelHandler([in] IPXV_Document* pDoc, | ||
[in] IPXV_DocSelection* pDocSel, | [in] IPXV_DocSelection* pDocSel, | ||
− | [out, retval] VARIANT_BOOL* | + | [out, retval] VARIANT_BOOL* bIsHandler);</pre> |
== Parameters == | == Parameters == | ||
;pDoc | ;pDoc | ||
− | :[in] Pointer to [[PXV:IPXV_Document|IPXV_Document]]. | + | :[in] Pointer to [[PXV:IPXV_Document|IPXV_Document]] containing the source document. |
;pDocSel | ;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. |
− | ; | + | ;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.