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)
 
(4 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|Edit_OnInsertText Method|method}}
+
{{#parentPage:PXV:IUIX_EditCallbacks#Methods|Edit_OnInsertText|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 9: 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 23: Line 24:
 
;nInsertLen
 
;nInsertLen
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;ppNewText
+
;sNewText
 
:[out, retval]  Pointer to BSTR.
 
:[out, retval]  Pointer to BSTR.
  
Line 30: Line 31:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_EditCallbacks|IUIX_EditCallbacks]].
+
[[PXV:IUIX_EditCallbacks|IUIX_EditCallbacks]]

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