DocumentCreateOptions
Options to pass into the createDocument API.
Provide width, height, resolution, fill, color mode parameters, or a saved preset name.
| Name | Type | Default | Range | Description |
|---|---|---|---|---|
| depth | number | - | - | Depth |
| fill | DocumentFill | - | - | Fill color of the document |
| fillColor | SolidColor | - | - | Custom fill color of the document |
| height | number | - | - | Height of image in px |
| mode | NewDocumentMode | - | - | ImageMode class |
| name | string | - | - | The name to give the new document |
| pixelScaleFactor | number | - | - | Pixel Scale Factor |
| preset | string | - | - | Preset |
| presetJSON | string | - | - | JSON Preset, requires JSONified string |
| profile | string | - | - | Color Profile using profile name |
| resolution | number | - | - | Resolution of image |
| typename | string | "DocumentCreateOptions" | ||
| - | The class name of the referenced object | |||
| width | number | - | - | Width of image in px |
