# Image
Class Inherits PDFObject
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| CompressionLevels | None <br> Fast <br> Medium <br> Slow | Supported compression levels used when encoding the image in the PDF document. |
| Formats | PNG <br> JPEG <br> GIF | Supported image file formats. |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Sub | Constructor | (None) | Creates a new instance of the class. |
| Sub | Constructor | (None) | Creates a new instance of the class. |
| Attributes | Hidden | toJavaScript | |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| CompressionLevel | CompressionLevels | Nil | Compression levels used when encoding the image in the PDF document. |
| Format | Formats | Nil | Format of the file being embedded in the PDF document. |
| Height | Double | Nil | Height of the image on the page. |
| Image | Picture | Nil | |
| Private | As | Nil | |
| Private | As | = | |
| Rotation | Double | Nil | |
| URL | String | Nil | URL data representing the image. |
| Width | Double | Nil | Width of the image on the page. |