PeachDrawing.PDF
PdfFileAttachment Class
A file to attach to a PDF with AddAttachment(PdfFileAttachment).
public sealed class PdfFileAttachment
Inheritance System.Object → PdfFileAttachment
| Properties | |
|---|---|
| AttachmentName | The name a viewer shows for the attachment; the key when null. |
| Data | The file to attach, as its bytes; needs AttachmentName or Key. |
| Description | A description a viewer may show. |
| FilePath | The file to attach, as a path. Give this or Data. |
| Key | The key that identifies the attachment in the PDF; the file name when null. |
| MimeType | The media type, such as text/csv; application/octet-stream when null. |
| ModificationDate | When the file was last modified; its timestamp when null and it came from a path. |
| Relationship | How the file relates to the PDF; required by PDF/A-3. |
| Replace | Whether to replace an attachment the PDF already has under the same Key; otherwise a clash is an error. |