IUIX_Combo::SetItemText Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Combo::SetItemText Method}}
 
{{#customTitle:IUIX_Combo::SetItemText Method}}
 +
{{#parentPage:PXV:IUIX_Combo#Methods|SetItemText|method}}
  
The method of interface of PDF-XChange Editor SDK.
+
 
 +
Sets ''text'' for a required item.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetItemText([in] LONG nItem, [in] BSTR pText);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT SetItemText([in] LONG nItem,
 +
                    [in] BSTR sText);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nItem''
+
;nItem
:[in]  Value of LONG.
+
:[in]  number of a required item.
;''pText''
+
;sText
:[in]  Value of BSTR.
+
:[in]  text to set for an item.
  
 
== Return Value ==
 
== Return Value ==
Returns S_OK if operation was successful or error code in other cases.
+
Returns S_OK if the operation was successful, or will return an error code if it fails.  
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_Combo|IUIX_Combo]].
+
[[PXV:IUIX_Combo|IUIX_Combo]]

Latest revision as of 14:30, 15 June 2015


Sets text for a required item.

Syntax

HRESULT SetItemText([in]  LONG  nItem,
                    [in]  BSTR  sText);

Parameters

nItem
[in] number of a required item.
sText
[in] text to set for an item.

Return Value

Returns S_OK if the operation was successful, or will return an error code if it fails.

See Also

IUIX_Combo