IUIX_Edit::SetCaretPos Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Edit::SetCaretPos Method}}
 
{{#customTitle:IUIX_Edit::SetCaretPos Method}}
 +
{{#parentPage:PXV:IUIX_Edit#Methods|SetCaretPos|method}}
 +
{{ToWrite}}
 +
{{ToReview}}
  
 
The method of interface of PDF-XChange Editor SDK.
 
The method of interface of PDF-XChange Editor SDK.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetCaretPos([in] UIX_EditTextPos* pNewCaretPos, [in, defaultvalue(0)] VARIANT_BOOL bKeepSelection);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT SetCaretPos([in]                   UIX_EditTextPos* stNewCaretPos,
 +
                    [in, defaultvalue(0)] VARIANT_BOOL     bKeepSelection);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pNewCaretPos''
+
;stNewCaretPos
 
:[in]  Pointer to [[PXV:UIX_EditTextPos|UIX_EditTextPos]].
 
:[in]  Pointer to [[PXV:UIX_EditTextPos|UIX_EditTextPos]].
;''bKeepSelection''
+
;bKeepSelection
 
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
 
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
  
Line 17: Line 22:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_Edit|IUIX_Edit]].
+
[[PXV:IUIX_Edit|IUIX_Edit]]

Latest revision as of 04:20, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

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

Parameters

stNewCaretPos
[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

IUIX_Edit