Click or drag to resize

PdfFileAttachmentAnnotation Class

Represents a file attachment annotation
Inheritance Hierarchy
SystemObject
  Patagames.Pdf.Net.WrappersPdfWrapper
    Patagames.Pdf.Net.AnnotationsPdfAnnotation
      Patagames.Pdf.Net.AnnotationsPdfMarkupAnnotation
        Patagames.Pdf.Net.AnnotationsPdfFileAttachmentAnnotation

Namespace: Patagames.Pdf.Net.Annotations
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.89.2704
Syntax
public class PdfFileAttachmentAnnotation : PdfMarkupAnnotation

The PdfFileAttachmentAnnotation type exposes the following members.

Constructors
 NameDescription
Public methodPdfFileAttachmentAnnotation(PdfPage) Creates a new PdfFileAttachmentAnnotation.
Public methodPdfFileAttachmentAnnotation(PdfPage, PdfTypeBase) Initializes a new instance of the PdfFileAttachmentAnnotation class based on the specified dictionary.
Public methodPdfFileAttachmentAnnotation(PdfPage, FileIconNames, String, Byte, Single, Single) Creates a new PdfFileAttachmentAnnotation.
Public methodPdfFileAttachmentAnnotation(PdfPage, FileIconNames, String, Byte, FS_COLOR, Single, Single) Creates a new PdfFileAttachmentAnnotation.
Top
Properties
 NameDescription
Public propertyExtendedIconName The name of an icon to be used in displaying the annotation.
Public propertyFileSpecification Gets or sets a file specification described the file associated with this annotation.
Public propertyStandardIconName The name of an icon to be used in displaying the annotation.
Top
Methods
 NameDescription
Public methodRegenerateAppearances Re-creates the appearance of the annotation based on its properties.
(Overrides PdfMarkupAnnotationRegenerateAppearances)
Top
Remarks
A file attachment annotation (PDF 1.3) contains a reference to a file, which typically is embedded in the PDF file; For example, a table of data might use a file attachment annotation to link to a spreadsheet file based on that data; activating the annotation extracts the embedded file and gives the user an opportunity to view it or store it in the file system.

The Contents entry of the annotation dictionary may specify descriptive text relating to the attached file.

See Also