Index
- Installation
- Getting Started
- Memory Usage
- Readers and Writers
- The Document Class
- Metadata
- Pages
- Canvas
- Page Layout and Mode
- Viewer Preferences
- Document Outline
- Page Labels
- Actions
- Destinations
- Annotations
- Embedded File Streams
- Colors and Color Spaces
- Page Formats and Boundaries
- Standard and Public Key Encryption
- Fonts and Encodings
- Corrupted Documents
- Reader Enabled Documents
- Migrating
- API Reference
File Attachment Annotation Class
Table of Contents
Introduction
A file attachment annotation contains a reference to a file, which is embedded in the PDF file. It is represented by the \setasign\SetaPDF2\Core\Document\Page\Annotation\FileAttachmentAnnotation
class.
Methods
The classes implements getter and setter methods to access the individual annotation data:
getFileSpecification()
Get the file specification.
getIconName()
Get the icon name of the annotation.
setFileSpecification()
Set the file specification.
setIconName()
Set the name of the icon that shall be used in displaying the annotation.