IUIX_Edit::SetCaretPos Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetCaretPos([in] UIX_EditTextPos* pNewCaretPos, [in, optional] VARIANT_BOOL bKeepSelection);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT SetCaretPos([in] UIX_EditTextPos* pNewCaretPos, [in, defaultvalue(0)] VARIANT_BOOL bKeepSelection);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 11: Line 11:
 
:[in]  Pointer to [[PXV:UIX_EditTextPos|UIX_EditTextPos]].
 
:[in]  Pointer to [[PXV:UIX_EditTextPos|UIX_EditTextPos]].
 
;''bKeepSelection''
 
;''bKeepSelection''
:[in, optional]  Value of VARIANT_BOOL.
+
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 02:04, 17 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT SetCaretPos([in] UIX_EditTextPos* pNewCaretPos, [in, defaultvalue(0)] VARIANT_BOOL bKeepSelection);

Parameters

pNewCaretPos
[in] Pointer to UIX_EditTextPos.
bKeepSelection
[in, defaultvalue(0)] Value of VARIANT_BOOL.

Return Value

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

See Also

See also IUIX_Edit.