Autodesk.AutoCAD.Customization Namespace > ToolbarFlyout Class > ToolbarFlyout Constructor > ToolbarFlyout(string, string, string, string, string, bool, Toolbar, int) Constructor
ToolbarFlyout.ToolbarFlyout(string, string, string, string, string, bool, Toolbar, int) Constructor
Description

 

This constructor sets all the possible settings for a toolbar flyout.

Visual Basic
Public Sub New(
    name As string, 
    uid As string, 
    refToolbar As string, 
    smlImage As string, 
    lgImage As string, 
    bToolbarOwnIcon As bool, 
    parent As Toolbar, 
    index As Integer
)
C#
public ToolbarFlyout(
    string name, 
    string uid, 
    string refToolbar, 
    string smlImage, 
    string lgImage, 
    bool bToolbarOwnIcon, 
    Toolbar parent, 
    int index
);
Parameters
Parameters 
Description 
string name 
Input the name of the flyout if different from the toolbar. The name will display as a tool tip. 
string uid 
Input the unique ID for the toolbar. If the given ID is already in use, a new one will be generated. 
string refToolbar 
Input the toolbar to reference as a flyout. 
string smlImage 
Input the image to use for the toolbar when it is set to use small images. 
string lgImage 
Input the image to use for the toolbar when it is set to use large images. 
bool bToolbarOwnIcon 
If set to true, the toolbar uses its own images. 
Toolbar parent 
Input the parent. 
int index 
Input the index in the collection at which to insert flyout. 
Links
   Comments?