<DragIconFile>
Section:
Class
Required:
No
Value type:
Path and image file name
Default:
The image specified by <IconFile>
Product:
Creo Elements/Direct Model Manager, Creo Elements/Direct Drawing Manager
Description
The path name to the GIF or JPG image file to display for an instance of the class when it is dragged in the GUI. This icon is from the getDragIcon() method on any WMDBObject.
The image should be 32x32 pixels. If the image is 16x16 pixels, then the icon is resized to 32x32 pixels, which may result in a poorly rendered image.
If you use an absolute path (i.e., the path begins with a /), the icon is expected to be in a JAR file. If the file is not found in the JAR file, or if the path is relative, the file is expected to be in a directory relative from where the application is run.
Example
This example shows the drag icon configured for a GIF image stored in a JAR file:
<DragIconFile>/com/mydomain/myIcons/drag_icon.gif</DragIconFile>
Was this helpful?