OptionaldepthBit depth
OptionalfillFill color of the document.
OptionalfillCustom fill color of the document.
OptionalheightHeight of image in pixels.
OptionalmodeImageMode class.
OptionalnameThe name to give the new document.
OptionalpixelPixel Scale Factor.
OptionalpresetPreset.
OptionalpresetJSON Preset, requires JSONified string.
OptionalprofileColor Profile using profile name.
OptionalresolutionResolution of image.
OptionalwidthWidth of image in pixels.
An object literal can be constructed with any of the following properties and passed to Photoshop.createDocument. As a type,
DocumentCreateOptionscan be used in Typescript development.Targetfolder
objects/createoptions
Optionobject
Min Version
22.5