A collection of document presets.
document preset Properties
| Property | Type | Access | Description |
|---|---|---|---|
| bottom | number or string | r/w | The bottom edge of the document preset. |
| class | type class | read | The class descriptor type. |
| column count | integer | r/w | The number of columns to place on the page. |
| column gutter | number or string | r/w | The distance between columns. |
| document bleed bottom offset | number or string | r/w | The amount to offset the bottom document bleed. Note: To set the bleed bottom offset, document bleed uniform size must be false. |
| document bleed inside or left offset | number or string | r/w | 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. |
| document bleed outside or right offset | number or string | r/w | 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. |
| document bleed top offset | number or string | r/w | The amount to offset the top document bleed. |
| document bleed uniform size | boolean | r/w | If true, uses the document bleed top offset value for bleed offset measurements on all sides of the document. The default setting is true. |
| document slug uniform size | boolean | r/w | If true, uses the slug top offset value for slug measurements on all sides of the doucment. The default value is false. |
| facing pages | boolean | r/w | If true, the document has facing pages. |
| id | integer | read | The unique ID of the document preset. |
| index | integer | read | The index of the document preset within its containing object. |
| label | string | r/w | A property that can be set to any string. |
| left | number or string | r/w | The left edge of the document preset. |
| master text frame | boolean | r/w | If true, the document A-master has auto textframes. |
| name | string | r/w | The name of the document preset. |
| object reference | document preset | read | An object reference for the document preset. |
| page height | number or string | r/w | The height of the page. |
| page orientation | landscape, portrait, |
r/w | The page orientation. |
| page size | string | r/w | The size of the page. |
| page width | number or string | r/w | The width of the page. |
| pages per document | integer | r/w | The number of pages in the document. (Range: 1 to 9999) |
| parent | reference | read | The parent of the document preset (a application). |
| properties | record | r/w | A property that allows setting of several properties at the same time. |
| right | number or string | r/w | The right edge of the document preset. |
| slug bottom offset | number or string | r/w | The amount to offset the bottom slug. Note: To set the slug bottom offset, document slug uniform size must be false. |
| slug inside or left offset | number or string | r/w | 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. |
| slug right or outside offset | number or string | r/w | 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. |
| slug top offset | number or string | r/w | The amount to offset the top slug. |
| top | number or string | r/w | The top edge of the document preset. |