Class PdfFileAttachmentAnnotation

    • Method Detail

      • 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.
      • getFileSpecObject

        public PdfObject getFileSpecObject()
      • getIconName

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

        public PdfFileAttachmentAnnotation 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 different for different annotation types:
        • GraphPushPin
        • PaperclipTag
        Additional names may be supported as well.
        Returns:
        this PdfFileAttachmentAnnotation instance.