public class PdfFileAttachment| Description | Optional description displayed next to the file name in the Attachments panel |
| FileName | File name shown in the Attachments panel, including extension (for example, "invoice.xml"). Ignored for URL attachments |
| MimeType | Optional MIME type of the file (for example, "application/xml", "text/csv"). Helps PDF viewers select the correct application when opening the attachment |
| Relationship | Relationship between the attached file and the PDF document. Required for PDF/A-3 and PDF/A-4f compliance, ignored for other standards. Default is Unspecified |
| Equals | (Inherited from Object) |
| Finalize | (Inherited from Object) |
| FromBytes | Creates an attachment from a byte array. The file content is embedded in the PDF |
| FromExternalPath | Creates an attachment that references an external file by path. The file is not embedded and the reference depends on the PDF reader being able to access the same path. Use FromFile(String) for portable PDFs |
| FromFile | Creates an attachment from a file on disk. The file is read and its content is embedded in the PDF. The file name shown in the Attachments panel is taken from the path |
| FromUrl | Creates an attachment that references a URL. Opens in the default browser when activated |
| GetHashCode | (Inherited from Object) |
| GetType | (Inherited from Object) |
| MemberwiseClone | (Inherited from Object) |
| ToString | (Inherited from Object) |