IUIX_Edit::SetCaretPos Method

From PDF XChange PDF SDK
Jump to: navigation, search


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