IPXV_Inst::CreateString Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_Inst::CreateString Method}}
 
{{#customTitle:IPXV_Inst::CreateString Method}}
{{#parentPage:PXV:IPXV_Inst|method}}
+
{{#parentPage:PXV:IPXV_Inst#Methods|CreateString|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Creates the new [[PXV:IString|IString]] object.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateString([in, defaultvalue("")] BSTR pInitial, [out, retval] IString** ppRes);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT CreateString([in, defaultvalue("")] BSTR       sInitial,
 +
                    [out, retval]           IString** pRes);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pInitial''
+
;sInitial
:[in, defaultvalue("")]  Value of BSTR.
+
:[in, defaultvalue("")]  Pass initial string here.
;''ppRes''
+
;pRes
:[out, retval]  Pointer to [[PXV:IString|IString]].
+
:[out, retval]  Returns pointer to a new [[PXV:IString|IString]] object.
  
 
== Return Value ==
 
== Return Value ==
Line 20: Line 21:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXV_Inst|IPXV_Inst]].
+
[[PXV:IPXV_Inst|IPXV_Inst]]

Latest revision as of 02:55, 15 June 2015


Creates the new IString object.

Syntax

HRESULT CreateString([in, defaultvalue("")]  BSTR       sInitial,
                     [out, retval]           IString**  pRes);

Parameters

sInitial
[in, defaultvalue("")] Pass initial string here.
pRes
[out, retval] Returns pointer to a new IString object.

Return Value

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

See Also

IPXV_Inst