PdfAnnotation

public class PdfAnnotation

Represents a base annotation in a PDF document.

Inheritors

Constructors

Link copied to clipboard
public void PdfAnnotation()

Functions

Link copied to clipboard
Gets the border style of the annotation.
Link copied to clipboard
public float getBorderWidth()
Gets the border width of the annotation in points.
Link copied to clipboard
public Color getColor()
Gets the annotation color.
Link copied to clipboard
Gets the annotation's text contents.
Link copied to clipboard
public int getIndex()
Gets the 0-based index of this annotation in the page's annotation array.
Link copied to clipboard
public boolean getIsHidden()
Gets whether the annotation is hidden.
Link copied to clipboard
public boolean getIsPrintable()
Gets whether the annotation is printable.
Link copied to clipboard
Gets the annotation's modification date.
Link copied to clipboard
public String getName()
Gets the annotation's unique name/identifier.
Link copied to clipboard
public long getRect()
Gets the rectangle that defines the location and size of the annotation on the page.
Link copied to clipboard
public String getSubType()
Gets the annotation subtype (e.g., "Text", "Link", "Highlight").
Link copied to clipboard
public String getTitle()
Gets the annotation's title/author.
Link copied to clipboard
public void setBorderStyle(PdfBorderStyle value)
Sets the border style of the annotation.
Link copied to clipboard
public void setBorderWidth(float value)
Sets the border width of the annotation in points.
Link copied to clipboard
public void setColor(Color value)
Sets the annotation color.
Link copied to clipboard
public void setContents(String value)
Sets the annotation's text contents.
Link copied to clipboard
public void setIsHidden(boolean value)
Sets whether the annotation is hidden.
Link copied to clipboard
public void setIsPrintable(boolean value)
Sets whether the annotation is printable.
Link copied to clipboard
public void setRect(RectF value)
Sets the rectangle that defines the location and size of the annotation on the page.
Link copied to clipboard
public void setTitle(String value)
Sets the annotation's title/author.