TrapPreset
A trapping preset.
TrapPreset Properties
| Property |
Type |
Access |
Description |
| BlackColorThreshold |
Double (0 – 100) |
r/w |
Black color threshold as a percentage. |
| BlackDensity |
Double (0 – 10) |
r/w |
Black density. |
| BlackWidth |
Unit (Double or String) (0 – 8 points) |
r/w |
Black width as Unit (Double or String) (0 – 8 points). |
| ColorReduction |
Double (0 – 100) |
r/w |
Color reduction threshold as a percentage. |
| DefaultTrapWidth |
Unit (Double or String) (0 – 8 points) |
r/w |
Default width as Unit (Double or String) (0 – 8 points). |
| Id |
Long |
read |
A unique number identifying the object. |
| ImagePlacement |
idTrapImagePlacementTypes enumeration |
r/w |
The trap preset’s image placement. |
| ImagesToImages |
Boolean |
r/w |
If true, trap images to images. |
| Index |
Long |
read |
Index of the object within its parent object. |
| InternalImages |
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. |
| ObjectsToImages |
Boolean |
r/w |
If true, trap objects to images. |
| OneBitImages |
Boolean |
r/w |
If trye, apply trapping to one-bit images. |
| Parent |
Object |
read |
The parent of the object. |
| SlidingTrapThreshold |
Double (0 – 100) |
r/w |
Sliding trap threshold as a percentage. |
| StepThreshold |
Double (1 – 100) |
r/w |
Step threshold as a percentage. |
| TrapEnd |
idTrapEndTypes enumeration |
r/w |
The trap preset’s end type. |
| TrapJoin |
idEndJoin enumeration |
r/w |
The trap preset’s join type. |
TrapPreset 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. |