IUIX_Combo::SetItemText Method
From PDF XChange PDF SDK
(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}} | ||
− | + | ||
+ | Sets ''text'' for a required item. | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT SetItemText([in] LONG nItem, [in] BSTR | + | <pre class="brush:cpp;gutter:false">HRESULT SetItemText([in] LONG nItem, |
+ | [in] BSTR sText);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;nItem |
− | :[in] | + | :[in] number of a required item. |
− | ; | + | ;sText |
− | :[in] | + | :[in] text to set for an item. |
== Return Value == | == Return Value == | ||
− | Returns S_OK if operation was successful or error code | + | Returns S_OK if the operation was successful, or will return an error code if it fails. |
== See Also == | == See Also == | ||
− | + | [[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.