A trapping preset.
trap preset properties
| Property | Type | Access | Description |
|---|---|---|---|
| black color threshold | fixed (0 – 100) | r/w | Black color threshold as a percentage. |
| black density | fixed (0 – 10) | r/w | Black density. |
| black width | number or string (0 – 8 points) | r/w | Black width as Unit (Double or String) (0 – 8 points). |
| class | integer | read | The class descriptor type. |
| color reduction | fixed (0 – 100) | r/w | Color reduction threshold as a percentage. |
| default trap width | number or string (0 – 8 points) | r/w | Default width as Unit (Double or String) (0 – 8 points). |
| id | integer | read | A unique number identifying the object. |
| image placement | trap image placement types enumeration | r/w | The trap preset’s image placement. |
| images to images | boolean | r/w | If true, trap images to images. |
| index | integer | read | Index of the object within its parent object. |
| internal images | boolean | r/w | If true, trap images internally. |
| label | string | r/w | A label that can be set to any string. |
| name | string | r/w | The name of the object. |
| object reference | object | read | An object reference for this object. |
| objects to images | boolean | r/w | If true, trap objects to images. |
| one bit images | boolean | r/w | If trye, apply trapping to one-bit images. |
| parent | object | read | The parent of the object. |
| properties | record | r/w | Property that allows setting of several properties at the same time. |
| sliding trap threshold | fixed (0 – 100) | r/w | Sliding trap threshold as a percentage. |
| step threshold | fixed (1 – 100) | r/w | Step threshold as a percentage. |
| trap end | trap end types enumeration | r/w | The trap preset’s end type. |
| trap join | end join enumeration | r/w | The trap preset’s join type. |
trap preset methods
| Method | Returns | Description |
|---|---|---|
| delete | Nothing | Delete trap preset. |
| duplicate | object | Duplicates the object. |
| extract label | string | Gets the content of the label associated with the specified key (name). |
| insert label | Nothing | Sets the content of the label associated with the specified key (name), creating the label if it does not already exist. |