Skip to main content

PrinterMarkAnnotation Class

Defines a PDF printer mark annotation.

Declaration

public class PrinterMarkAnnotation extends BaseAnnotation

Remarks

A printer mark annotation identifies printer marks in a PDF document. Printer marks include registration marks, crop marks, color bars, and other marks used during commercial printing.

The following code snippet marks an area that contains printer marks in a document prepared for commercial printing:

void markPrintArea(Page page) {
    PrinterMarkAnnotation annotation =
            new PrinterMarkAnnotation(
                    new RectangleF(15, 15, 25, 25));

    page.getAnnotations().add(annotation);
}

Refer to the following help topic for additional information: Printer Mark Annotations.

Inheritance

Object
JavaObject
BaseAnnotation
PrinterMarkAnnotation

PrinterMarkAnnotation(RectangleF bounds)

Initializes a new instance of the PrinterMarkAnnotation class with specified bounds.

Declaration

public PrinterMarkAnnotation(RectangleF bounds)

Parameters

Name Type Description
bounds RectangleF

The printer mark annotation bounds.