PdfAnnotation

Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage

public class PdfAnnotation extends CustomPackage

Represents an annotation in a PDF document.

Learn more

Methods

Method Description
getText() Gets the annotation text.
getName() Gets the name of the annotation.
getPageNumber() Gets the number of the page containing the annotation.

getText()

public final String getText()

Gets the annotation text.

Returns: java.lang.String - The annotation text.

getName()

public final String getName()

Gets the name of the annotation.

Returns: java.lang.String - The name of the annotation.

getPageNumber()

public final int getPageNumber()

Gets the number of the page containing the annotation.

Returns: int - The number of the page containing the annotation.