Class PdfStampAnnotation


public class PdfStampAnnotation extends PdfMarkupAnnotation
  • Constructor Details

  • Method Details

    • getSubtype

      public PdfName getSubtype()
      Description copied from class: PdfAnnotation
      Gets a PdfName which value is a subtype of this annotation. See ISO-320001 12.5.6, "Annotation Types" for the reference to the possible types.
      Specified by:
      getSubtype in class PdfAnnotation
      Returns:
      subtype of this annotation.
    • setStampName

      public PdfStampAnnotation setStampName (PdfName name)
    • getStampName

      public PdfName getStampName()
    • getIconName

      public PdfName getIconName()
      The name of an icon that is used in displaying the annotation. Possible values are described in setIconName(PdfName).
      Returns:
      a PdfName that specifies the icon for displaying annotation, or null if icon name is not specified.
    • getRotation

      public PdfNumber getRotation()
      Gets the rotation angle in degrees.
      Returns:
      PdfNumber representing the clockwise rotation in degrees.
    • setIconName

      public PdfStampAnnotation setIconName (PdfName name)
      The name of an icon that is used in displaying the annotation.
      Parameters:
      name - a PdfName that specifies the icon for displaying annotation. Possible values are:
      • Approved
      • Experimental
      • NotApproved
      • AsIs
      • Expired
      • NotForPublicRelease
      • Confidential
      • Final
      • Sold
      • Departmental
      • ForComment
      • TopSecret
      • Draft
      • ForPublicRelease.
      Returns:
      this PdfStampAnnotation instance.
    • setRotation

      public PdfStampAnnotation setRotation (int degAngle)
      Sets the rotation angle in degrees.
      Parameters:
      degAngle - an integer representing the clockwise rotation in degrees.
      Returns:
      this PdfStampAnnotation instance.