com.spire.pdf.annotations
Class PdfAttachmentAnnotationWidget
java.lang.Object
com.spire.pdf.annotations.PdfAnnotation
com.spire.pdf.annotations.PdfAnnotationWidget
com.spire.pdf.annotations.PdfStyledAnnotationWidget
com.spire.pdf.annotations.PdfAttachmentAnnotationWidget
- All Implemented Interfaces:
- IPdfWrapper
public class PdfAttachmentAnnotationWidget
- extends PdfStyledAnnotationWidget
Represents the attachment annotation from the loaded document.
Methods inherited from class com.spire.pdf.annotations.PdfStyledAnnotationWidget |
getBorder, getBounds, getColor, getLocation, getSize, getText, setAnnotationFlags, setBorder, setBounds, setColor, setLocation, setSize, setText |
Methods inherited from class com.spire.pdf.annotations.PdfAnnotation |
getDictionary, getFlags, getModifiedDate, getName, getPage, getRectangle, setDictionary, setFlags, setModifiedDate, setName, setRectangle |
PdfAttachmentAnnotationWidget
public PdfAttachmentAnnotationWidget(PdfDictionary dictionary,
PdfCrossTable crossTable,
com.spire.ms.System.Drawing.RectangleF rectangle,
java.lang.String text)
getIcon
public PdfAttachmentIcon getIcon()
- Gets the icon of the annotation.
setIcon
public void setIcon(PdfAttachmentIcon value)
- Sets the icon of the annotation.
getFileName
public java.lang.String getFileName()
- Gets the attachment file name of the annotation.
getData
public byte[] getData()