Table of Contents

Class PdfFileAttachmentAnnotation

Namespace
iText.Kernel.Pdf.Annot
Assembly
itext.kernel.dll
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 Rectangle
file 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 PdfDictionary

the PdfDictionary representing annotation object

See Also

Methods

GetFileSpecObject()

public virtual PdfObject GetFileSpecObject()

Returns

PdfObject

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

PdfName

SetIconName(PdfName)

The name of an icon that is used in displaying the annotation.

public virtual PdfFileAttachmentAnnotation SetIconName(PdfName name)

Parameters

name PdfName

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

PdfFileAttachmentAnnotation

this PdfFileAttachmentAnnotation instance.