DocumentPreset
A document preset.
DocumentPreset Properties
| Property |
Type |
Access |
Description |
| Bottom |
Unit (Double or String) |
r/w |
Bottom edge of the object. |
| ColumnCount |
Long (1 – 216) |
r/w |
The number of columns. |
| ColumnGutter |
Unit (Double or String) (0 – 1440 points) |
r/w |
The distance between column guides. |
| 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. |
| FacingPages |
Boolean |
r/w |
If true, the document has facing pages. |
| Id |
Long |
read |
A unique number identifying the object. |
| Index |
Long |
read |
Index of the object within its parent object. |
| Label |
String |
r/w |
A label that can be set to any string. |
| Left |
Unit (Double or String) |
r/w |
Left edge of the object. |
| Name |
String |
r/w |
The name of the object. |
| 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. |
| Right |
Unit (Double or String) |
r/w |
Right edge of the object. |
| 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. |
| Top |
Unit (Double or String) |
r/w |
Top edge of the object. |
DocumentPreset Methods
| Method |
Returns |
Description |
| Delete |
Nothing |
Deletes the object. |
| Duplicate |
Object |
Duplicates the object. |
| ExtractLabel |
String |
Gets the content of the label associated with the specified key (name). |
| InsertLabel |
Nothing |
Sets the content of the label associated with the specified key (name), creating the label if it does not already exist. |