IToolbar Interface Send Feedback
See Also  Members  
Allows access to a toolbar.

Syntax

Visual Basic 
Public Interface IToolbar 
C# 
public interface IToolbar 
JavaScript 
Object dsToolbar
COM native C++ 
interface IToolbar
C++ 
class dsToolbar

Example

The following code snippets show how to add a toolbar to the list of available toolbars:

 

COM native C++ 

IToolbarPtr pToolbar = m_DsApp->AddToolbar( m_sApiUuid, dsUIState_Document, L"DsAddin Toolbar");

 

C++

dsString ToolbarName = L"QAddIn1_Toolbar";

dsToolbar_ptr pToolbar;

dsApp->AddToolbar( myApplication::appID, dsUIState_Document, ToolbarName, &pToolbar );

Remarks

To display the list of available toolbars, right-click a toolbar in the DraftSight user interface and select Toolbars to open the Specify Toolbars dialog.

Accessors

Object Model

See Also