A collection of documents.
Go to Property Listing | Method Listing
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
Int |
readonly |
Number of elements in the collection. |
|
|
readonly |
The object's container. |
||
|
readonly |
The class name of the object. |
Document [] (index:Uint)
Get an element in the collection with the provided index.
|
Parameter |
Type |
Description |
|---|---|---|
|
index |
Uint |
Document add ([width:UnitValue], [height:UnitValue], [resolution:Number=Number], [name:String], [mode:NewDocumentMode=NewDocumentMode], [initialFill:DocumentFill=DocumentFill], [pixelAspectRatio:Number=Number], [bitsPerChannel:BitsPerChannelType=BitsPerChannelType], [colorProfileName:String])
A document.
|
Parameter |
Type |
Description |
|---|---|---|
|
width |
The width of the document. |
|
|
height |
The height of the document. |
|
|
resolution |
The resolution of the document (in pixels per inch) (default: 72) |
|
|
name |
The name of the document. |
|
|
mode |
The document mode. (default: NewDocumentMode.RGB) |
|
|
initialFill |
The initial fill of the document. (default: DocumentFill.WHITE) |
|
|
pixelAspectRatio |
The initial pixel aspect ratio of the document. (default: 1.0) |
|
|
bitsPerChannel |
The number of bits per channel. (default: BitsPerChannelType.EIGHT) |
|
|
colorProfileName |
The name of color profile for document. |
Document getByName (name:String)
Get the first element in the collection with the provided name.
|
Parameter |
Type |
Description |
|---|---|---|
|
name |
Application.documents