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)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[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#Methods|Edit_OnInsertText|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 9:
  
 
== 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     sText,
 +
                          [in]           LONG       nLen,
 +
                          [in]           LONG       nInsertLen,
 +
                          [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
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;''nInsertLen''
+
;nInsertLen
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;''ppNewText''
+
;sNewText
 
:[out, retval]  Pointer to BSTR.
 
:[out, retval]  Pointer to BSTR.
  
Line 26: Line 31:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_EditCallbacks|IUIX_EditCallbacks]].
+
[[PXV:IUIX_EditCallbacks|IUIX_EditCallbacks]]

Latest revision as of 03: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