Edit in GitHubLog an issue

DocumentCreateOptions

Options to pass into the createDocument API. Provide width, height, resolution, fill, color mode parameters, or a saved preset name.

NameTypeDefaultRangeDescription
depthnumber--Depth
fillDocumentFill--Fill color of the document
fillColorSolidColor--Custom fill color of the document
heightnumber--Height of image in px
modeNewDocumentMode--ImageMode class
namestring--The name to give the new document
pixelScaleFactornumber--Pixel Scale Factor
presetstring--Preset
presetJSONstring--JSON Preset, requires JSONified string
profilestring--Color Profile using profile name
resolutionnumber--Resolution of image
typenamestring"DocumentCreateOptions"
-The class name of the referenced object
widthnumber--Width of image in px
  • Privacy
  • Terms of Use
  • Do not sell my personal information
  • AdChoices
Copyright © 2022 Adobe. All rights reserved.