Share

Autodesk.AutoCAD.Windows.ToolPalette.ItemOptionFlags Enumeration

Description

This .NET enum wraps the AcTc.ItemOption ObjectARX enum.

C#

public enum ItemOptionFlags {
  MenuRemoveImage = 0x10,
  MenuSetImage = 8,
  MenuUpdateImage = 4,
  None = 0,
  SupportsAutoImage = 1,
  SupportsUserImage = 2
}

Visual Basic

Public Enum ItemOptionFlags
  MenuRemoveImage = &H10
  MenuSetImage = 8
  MenuUpdateImage = 4
  None = 0
  SupportsAutoImage = 1
  SupportsUserImage = 2
End Enum

Members

Members Description
MenuRemoveImage = 0x10 This option is typically specified in the stock tool (as 'option' attribute in StockTool node) in the registration file. This flag is valid only if the tool auto-generates the image. If this flag is specified the tools of this stock tool type will have 'Remove specified image' menu option on the right click menu to remove the specified image.
MenuSetImage = 8 This option is typically specified in the stock tool (as 'option' attribute in StockTool node) in the registration file. This flag is valid only if the tool auto-generates the image. If this flag is specified the tools of this stock tool type will have 'Specify image' menu option on the right click menu to specify an image.
MenuUpdateImage = 4 This flag is valid only if the tool auto-generates the image. If this flag is specified the tools of this stock tool type will have the 'Update image' menu option on the right click menu to specify an image.
None = 0 No item option.
SupportsAutoImage = 1 This option is typically specified in the stock tool (as 'option' attribute in StockTool node) in the registration file. This flag should be specified if the tool auto-generates the image. If this flag is set and the flag ItemOptionSupportsUserImage is not set then the tool won't have a menu option to specify image.
SupportsUserImage = 2 This option is typically specified in the stock tool (as 'option' attribute in StockTool node) in the registration file. This flag is valid only with ItemOptionSupportsAutoImage. If these two flags are set then the tool will have a menu option to specify override image and delete an override image (if one is set).

Was this information helpful?