# SVG
Class Inherits PDFObject
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| CompressionLevels | None <br> Fast <br> Medium <br> Slow | Supported compression levels used when encoding the rendered SVG in the PDF document. |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Constructor | source as String <br> width as Double <br> height as Double | (None) | Creates a new instance of the class. |
| Attributes | Hidden | toJavaScript | |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| CompressionLevel | CompressionLevels | Nil | Compression level used when encoding the rendered SVG in the PDF document. |
| Height | Double | Nil | Height of the SVG on the page. |
| Rotation | Integer | Nil | |
| Width | Double | Nil | Width of the SVG on the page. |