PDF XLSX
Aspose.PDF  for Java
PDF

Get Polyline Annotations in PDF document via Java

Build your own Java apps to manipulate comments & authors in PDF files using native APIs.

Repository

<repository>
<id>AsposeJavaAPI</id>

<name>Aspose Java API</name>
<url>https://repository.aspose.com/repo/</url>
</repository>

Dependency

<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-pdf</artifactId>
<version>version of aspose-pdf API</version>
<classifier>jdk17</classifier>
</dependency>

Get Polyline Annotation via Java

You need Aspose.PDF for Java to try the code in your environment.

  • Load PDF in an instance of Document class
  • Create a new page or get a reference to an existing one
  • Create Polyline annotation
  • Call method Get for Polyline annotation from Page.Annotations collections
  • Save the file again

System Requirements

Aspose.PDF for Java is supported on all major operating systems. Just make sure that you have the following prerequisites.

  • Microsoft Windows or a compatible OS with Java Runtime Environment for JSP/JSF Application and Desktop Applications.
  • Development environment like Eclipse or IntelliJ IDEA
  • Aspose.PDF for Java library referenced in your project.
 

Get Polyline Annotations from PDF - Java

 
  • About Aspose.PDF for Java API

    Aspose.PDF for Java API can be used for PDF document manipulation and parsing within applications. One can create, modify, compress, secure, print or save PDF to TXT, HTML, PCL, XFA, XML, XPS, EPUB, TEX, Images and more formats. Aspose.PDF is a standalone API and it does not depend on any software including Adobe Acrobat.

    Remove Annotation from PDF via Online App