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 1: Line 1:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_EditCallbacks::Edit_OnInsertText Method}}
 
{{#customTitle:IUIX_EditCallbacks::Edit_OnInsertText Method}}
{{#parentPage:PXV:IUIX_EditCallbacks|method}}
+
{{#parentPage:PXV:IUIX_EditCallbacks|Edit_OnInsertText Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Edit_OnInsertText([in] IUIX_Edit* pEdit, [in] LPWSTR pText, [in] LONG nLen, [in] LONG nInsertLen, [out, retval] BSTR* ppNewText);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT Edit_OnInsertText([in]           IUIX_Edit* pEdit,
 +
                          [in]           LPWSTR     pText,
 +
                          [in]           LONG       nLen,
 +
                          [in]           LONG       nInsertLen,
 +
                          [out, retval] BSTR*       ppNewText);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pEdit''
+
;pEdit
 
:[in]  Pointer to [[PXV:IUIX_Edit|IUIX_Edit]].
 
:[in]  Pointer to [[PXV:IUIX_Edit|IUIX_Edit]].
;''pText''
+
;pText
 
:[in]  Value of LPWSTR.
 
:[in]  Value of LPWSTR.
;''nLen''
+
;nLen
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;''nInsertLen''
+
;nInsertLen
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;''ppNewText''
+
;ppNewText
 
:[out, retval]  Pointer to BSTR.
 
:[out, retval]  Pointer to BSTR.
  

Revision as of 06:42, 23 April 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

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

Parameters

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

Return Value

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

See Also

See also IUIX_EditCallbacks.