IPXV_DocSelectionHandler::OnStartSelHandling Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_DocSelectionHandler::OnStartSelHandling Method}}
 
{{#customTitle:IPXV_DocSelectionHandler::OnStartSelHandling Method}}
 +
{{#parentPage:PXV:IPXV_DocSelectionHandler#Methods|OnStartSelHandling|method}}
 +
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Called by the document to notify the handler that it is set as a selection handler for document's selection.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT OnStartSelHandling([in] IPXV_Document* pDoc, [in] IPXV_DocSelection* pNewDocSel);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT OnStartSelHandling([in] IPXV_Document*     pDoc,
 +
                          [in] IPXV_DocSelection* pNewDocSel);</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.
;''pNewDocSel''
+
;pNewDocSel
:[in]  Pointer to [[PXV:IPXV_DocSelection|IPXV_DocSelection]].
+
:[in]  Pointer to [[PXV:IPXV_DocSelection|IPXV_DocSelection]] containing the new document's selection.
  
 
== Return Value ==
 
== Return Value ==
Line 17: Line 21:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXV_DocSelectionHandler|IPXV_DocSelectionHandler]].
+
[[PXV:IPXV_DocSelectionHandler|IPXV_DocSelectionHandler]]

Latest revision as of 00:43, 17 March 2016


Called by the document to notify the handler that it is set as a selection handler for document's selection.

Syntax

HRESULT OnStartSelHandling([in]  IPXV_Document*      pDoc,
                           [in]  IPXV_DocSelection*  pNewDocSel);

Parameters

pDoc
[in] Pointer to IPXV_Document containing the source document.
pNewDocSel
[in] Pointer to IPXV_DocSelection containing the new document's selection.

Return Value

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

See Also

IPXV_DocSelectionHandler