Autodesk.AutoCAD.Customization Namespace > ImageMenu Class > ImageMenu Constructor > ImageMenu(ImageMenu, MenuGroup, int) Constructor
ImageMenu.ImageMenu(ImageMenu, MenuGroup, int) Constructor
Description

 

This constructor duplicates data from another ImageMenu into the newly created ImageMenu. It also sets its array position.

Visual Basic
Public Sub New(
    imageIn As ImageMenu, 
    parent As MenuGroup, 
    index As Integer
)
C#
public ImageMenu(
    ImageMenu imageIn, 
    MenuGroup parent, 
    int index
);
Parameters
Parameters 
Description 
ImageMenu imageIn 
Input the ImageMenu from which to copy data. 
MenuGroup parent 
Input the MenuGroup to set as the parent. 
int index 
Input the index where the ImageMenu should be inserted in the MenuGroup array of ImageMenus
Links
   Comments?