Parameters
- res
- Provides the
ResourceManager
holding anImage
resource named by iconname. If this parameter is null, GoImage.DefaultResourceManager is used instead. - iconname
The name of the
Image
resource in theResourceManager
given by res, or else a file name if no resource manager can be used (i.e., when both res is null and GoImage.DefaultResourceManager is null).If the value is an empty string, the
Image
will be blank; you can set Image.GoImage.Name to show or change the image displayed by the GoImage that is the Image.If the value is null, the Icon is not a GoImage but a GoDrawing; you can then set the Figure to change the shape shown as the icon.