# Image

The **Image** object represents an image file or icon to be displayed in a [script dialog](../../../scripting/script_dialogs). You can load an image or icon using the [**DOpus**](dopus)**.LoadImage** or \*\*[Script](script).LoadImage \*\*methods. It can be displayed using a static control, or assigned as the dialog's icon.

| Property Name | Return Type | Description                                                               |
| ------------- | ----------- | ------------------------------------------------------------------------- |
| bitcount      | _int_       | Returns the bit count of the loaded image.                                |
| height        | _int_       | Returns the height of the loaded image.                                   |
| type          | _string_    | Returns the type of file the image was loaded or created from (if known). |
| width         | _int_       | Returns the width of the loaded image.                                    |

| Method Name | **Arguments** | Return Type | Description                                                                         |
| ----------- | ------------- | ----------- | ----------------------------------------------------------------------------------- |
| SetClip     | _none_        | _bool_      | Copies the image's bitmap data into the Windows clipboard. Returns boolean success. |
