TrapNetAnnotation Class
Defines a PDF trap network annotation.
Declaration
public class TrapNetAnnotation extends BaseAnnotation
Remarks
A trap network annotation identifies a trap network in a PDF document. Trap networks define trapping information used during commercial printing to compensate for slight misalignment between printing plates.
The following code snippet marks an area that contains trapping information in a document prepared for commercial printing:
void createTrapNetworkAnnotation(Page page) {
TrapNetAnnotation annotation =
new TrapNetAnnotation(
new RectangleF(15, 15, 25, 25));
page.getAnnotations().add(annotation);
}
Refer to the following help topic for additional information: Trap Network Annotations.
Inherited Members
com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)
Inheritance
Object
JavaObject
BaseAnnotation
TrapNetAnnotation
TrapNetAnnotation(RectangleF bounds)
Initializes a new instance of the TrapNetAnnotation class with specified bounds.
Declaration
public TrapNetAnnotation(RectangleF bounds)
Parameters
| Name | Type | Description |
|---|---|---|
| bounds | RectangleF | The trap network annotation bounds. |