Documents.add

Document add (UnitValue width, UnitValue height, Number resolution, String name, NewDocumentMode mode, DocumentFill initialFill, Number pixelAspectRatio, BitsPerChannelType bitsPerChannel, String colorProfileName)

Parameters

width The width of the document.
height The height of the document.
resolution The resolution of the document (in pixels per inch)
name The name of the document.
mode The document mode.
initialFill The initial fill of the document.
pixelAspectRatio The initial pixel aspect ratio of the document.
bitsPerChannel The number of bits per channel.
colorProfileName The name of color profile for document.

Description

A document.