Document preferences.
DocumentPreference Properties
| Property | Type | Access | Description |
|---|---|---|---|
| AllowPageShuffle | Boolean | r/w | If false then adding a page to a spread always adds it to that spread. If true a page can be shuffled to a different spread. |
| ColumnGuideColor | Array of 3 Doubles (0 – 255), idUIColors enumeration (see table at end of chapter) | r/w | The color of the column guides. |
| ColumnGuideLocked | Boolean | r/w | If true, the column guides are locked. |
| DocumentBleedBottomOffset | Unit (Double or String) | r/w | The bottom document bleed offset. |
| DocumentBleedInsideOrLeftOffset | Unit (Double or String) | r/w | The left or inside document bleed offset. |
| DocumentBleedOutsideOrRightOffset | Unit (Double or String) | r/w | The outside or right document bleed offset. |
| DocumentBleedTopOffset | Unit (Double or String) | r/w | The top document bleed offset. |
| DocumentBleedUniformSize | Boolean | r/w | If true, the document bleed is the same on all sides of the page. |
| DocumentSlugUniformSize | Boolean | r/w | If true, the document slug is the same on all sides of the page. |
| FacingPages | Boolean | r/w | If true, the document has facing pages. |
| MarginGuideColor | Array of 3 Doubles (0 – 255), idUIColors enumeration (see table at end of chapter) | r/w | The color of margin guides. |
| OverprintBlack | Boolean | r/w | If true, overprint black. |
| PageHeight | Unit (Double or String) | r/w | The height of the page. |
| PageOrientation | idPageOrientation enumeration | r/w | The orientation of the page. |
| PagesPerDocument | Long | r/w | The number of pages in a document. |
| PageWidth | Unit (Double or String) | r/w | The width of the page. |
| Parent | Object | read | The parent of the object. |
| PreserveLayoutWhenShuffling | Boolean | r/w | If true, then when setting ‘allow page shuffle’ and the document has spreads with a number of pages greater than the default, this layout is preserved. If false then the pages on these spreads get shuffled. |
| SlugBottomOffset | Unit (Double or String) | r/w | The bottom slug offset. |
| SlugInsideOrLeftOffset | Unit (Double or String) | r/w | The inside or left slug offset. |
| SlugRightOrOutsideOffset | Unit (Double or String) | r/w | The right or outside slug offset. |
| SlugTopOffset | Unit (Double or String) | r/w | The top slug offset. |