Example usage for org.apache.pdfbox.pdmodel.interactive.annotation PDAnnotationLine PDAnnotationLine

List of usage examples for org.apache.pdfbox.pdmodel.interactive.annotation PDAnnotationLine PDAnnotationLine

Introduction

In this page you can find the example usage for org.apache.pdfbox.pdmodel.interactive.annotation PDAnnotationLine PDAnnotationLine.

Prototype

public PDAnnotationLine(COSDictionary field) 

Source Link

Document

Creates a Line annotation from a COSDictionary, expected to be a correct object definition.

Usage

From source file:net.padaf.preflight.annotation.LineAnnotationValidator.java

License:Apache License

public LineAnnotationValidator(DocumentHandler handler, COSDictionary annotDictionary) {
    super(handler, annotDictionary);
    this.pdLine = new PDAnnotationLine(annotDictionary);
    this.pdAnnot = this.pdLine;
}