Class PdfFileAttachmentAnnotation
public class PdfFileAttachmentAnnotation : PdfMarkupAnnotation
- Inheritance
-
PdfFileAttachmentAnnotation
- Inherited Members
Constructors
PdfFileAttachmentAnnotation(Rectangle)
public PdfFileAttachmentAnnotation(Rectangle rect)
Parameters
rect
Rectangle
PdfFileAttachmentAnnotation(Rectangle, PdfFileSpec)
public PdfFileAttachmentAnnotation(Rectangle rect, PdfFileSpec file)
Parameters
rect
Rectanglefile
PdfFileSpec
PdfFileAttachmentAnnotation(PdfDictionary)
Instantiates a new PdfFileAttachmentAnnotation instance based on PdfDictionary instance, that represents existing annotation object in the document.
protected PdfFileAttachmentAnnotation(PdfDictionary pdfObject)
Parameters
pdfObject
PdfDictionarythe PdfDictionary representing annotation object
- See Also
Methods
GetFileSpecObject()
public virtual PdfObject GetFileSpecObject()
Returns
GetIconName()
The name of an icon that is used in displaying the annotation.
public virtual PdfName GetIconName()
Returns
- PdfName
a PdfName that specifies the icon for displaying annotation, or null if icon name is not specified.
Remarks
The name of an icon that is used in displaying the annotation. Possible values are different for different annotation types. See SetIconName(PdfName).
GetSubtype()
public override PdfName GetSubtype()
Returns
SetIconName(PdfName)
The name of an icon that is used in displaying the annotation.
public virtual PdfFileAttachmentAnnotation SetIconName(PdfName name)
Parameters
name
PdfNamea PdfName that specifies the icon for displaying annotation. Possible values are different for different annotation types:
- GraphPushPin
- PaperclipTag
Returns
- PdfFileAttachmentAnnotation
this PdfFileAttachmentAnnotation instance.