IUIX_EditCallbacks::Edit_OnInsertText Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
Line 10: Line 10:
 
== Syntax ==
 
== Syntax ==
 
<pre class="brush:cpp;gutter:false">HRESULT Edit_OnInsertText([in]          IUIX_Edit*  pEdit,
 
<pre class="brush:cpp;gutter:false">HRESULT Edit_OnInsertText([in]          IUIX_Edit*  pEdit,
                           [in]          LPWSTR      pText,
+
                           [in]          LPWSTR      sText,
 
                           [in]          LONG        nLen,
 
                           [in]          LONG        nLen,
 
                           [in]          LONG        nInsertLen,
 
                           [in]          LONG        nInsertLen,
                           [out, retval]  BSTR*      ppNewText);</pre>
+
                           [out, retval]  BSTR*      sNewText);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;pEdit
 
;pEdit
 
:[in]  Pointer to [[PXV:IUIX_Edit|IUIX_Edit]].
 
:[in]  Pointer to [[PXV:IUIX_Edit|IUIX_Edit]].
;pText
+
;sText
 
:[in]  Value of LPWSTR.
 
:[in]  Value of LPWSTR.
 
;nLen
 
;nLen
Line 24: Line 24:
 
;nInsertLen
 
;nInsertLen
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;ppNewText
+
;sNewText
 
:[out, retval]  Pointer to BSTR.
 
:[out, retval]  Pointer to BSTR.
  

Latest revision as of 04:21, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT Edit_OnInsertText([in]           IUIX_Edit*  pEdit,
                          [in]           LPWSTR      sText,
                          [in]           LONG        nLen,
                          [in]           LONG        nInsertLen,
                          [out, retval]  BSTR*       sNewText);

Parameters

pEdit
[in] Pointer to IUIX_Edit.
sText
[in] Value of LPWSTR.
nLen
[in] Value of LONG.
nInsertLen
[in] Value of LONG.
sNewText
[out, retval] Pointer to BSTR.

Return Value

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

See Also

IUIX_EditCallbacks