IUIX_CmdBar::FindFirstItemByCmdName Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
Line 3: Line 3:
 
{{#customTitle:IUIX_CmdBar::FindFirstItemByCmdName Method}}
 
{{#customTitle:IUIX_CmdBar::FindFirstItemByCmdName Method}}
 
{{#parentPage:PXV:IUIX_CmdBar#Methods|FindFirstItemByCmdName|method}}
 
{{#parentPage:PXV:IUIX_CmdBar#Methods|FindFirstItemByCmdName|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Gets [[PXV:IUIX_CmdItem_Index|Index]] of the first item in the commands bar that corresponds to the command's name.
  
 
== Syntax ==
 
== Syntax ==
Line 14: Line 13:
 
== Parameters ==
 
== Parameters ==
 
;sCmdName
 
;sCmdName
:[in]  Value of BSTR.
+
:[in]  Value of BSTR containing the command's name.
 
;pItem
 
;pItem
:[out, retval]  Pointer to [[PXV:IUIX_CmdItem|IUIX_CmdItem]].
+
:[out, retval]  Pointer to [[PXV:IUIX_CmdItem|IUIX_CmdItem]] containing the resulting [[PXV:IUIX_CmdItem_Index|Index]] of the command in the command bar.
  
 
== Return Value ==
 
== Return Value ==

Latest revision as of 08:13, 23 March 2016


Gets Index of the first item in the commands bar that corresponds to the command's name.

Syntax

HRESULT FindFirstItemByCmdName([in]           BSTR            sCmdName,
                               [out, retval]  IUIX_CmdItem**  pItem);

Parameters

sCmdName
[in] Value of BSTR containing the command's name.
pItem
[out, retval] Pointer to IUIX_CmdItem containing the resulting Index of the command in the command bar.

Return Value

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

See Also

IUIX_CmdBar