A preset that contains all of the new document settings.
Go to Property Listing | Method Listing
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
read/write |
The bottom edge of the DocumentPreset. |
||
|
read/write |
The number of columns |
||
|
read/write |
The distance between columns in a text frame |
||
|
read/write |
The amount to offset the bottom document bleed. Note: To set the bleed bottom offset, document bleed uniform size must be false. |
||
|
read/write |
The amount to offset the inside or left document bleed. Note: To set the bleed inside or left offset, document bleed uniform size must be false. |
||
|
read/write |
The amount to offset the outside or right document bleed. Note: To set the bleed outside or right offset, document bleed uniform size must be false. |
||
|
read/write |
The amount to offset the top document bleed. |
||
|
read/write |
If true, the document has facing pages. |
||
|
readonly |
The unique ID of the DocumentPreset. |
||
|
readonly |
The index of the DocumentPreset within its containing object. |
||
|
read/write |
A property that can be set to any string. |
||
|
read/write |
The left edge of the DocumentPreset. |
||
|
read/write |
The name of the DocumentPreset. |
||
|
read/write |
The height of the page. |
||
|
read/write |
The page orientation. |
||
|
read/write |
The width of the page. |
||
|
Number (range 1 - 9999) |
read/write |
The number of pages in the document. (Range: 1 to 9999) |
|
|
readonly |
The parent of the DocumentPreset (a Application). |
||
|
read/write |
A property that allows setting of several properties at the same time. |
||
|
read/write |
The right edge of the DocumentPreset. |
||
|
read/write |
The amount to offset the bottom slug. Note: To set the slug bottom offset, document slug uniform size must be false. |
||
|
read/write |
The amount to offset the inside or left slug. Note: To set the slug inside or left offset, document slug uniform size must be false. |
||
|
read/write |
The amount to offset the outside or right slug. Note: To set the slug right or outside offset, document slug uniform size must be false. |
||
|
read/write |
The amount to offset the top slug. |
||
|
read/write |
The top edge of the DocumentPreset. |
DocumentPreset duplicate ()
Duplicates the DocumentPreset.
String extractLabel (key:String)
Gets the label value associated with the specified key.
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
The key. |
undefined insertLabel (key:String, value:String)
Sets the label to the value associated with the specified key.
undefined remove ()
Deletes the DocumentPreset.