Click or drag to resize
Pdf Library for .NET

PdfAttachmentRelationship Enumeration

The relationship between an embedded associated file and the document content, as recorded in the file's AFRelationship entry. Used with AddAssociatedFile(String, PdfAttachmentRelationship, String, String).

Namespace: SelectPdf.Universal
Assembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntax
public enum PdfAttachmentRelationship
Members
Member nameValueDescription
Source0 The file is the original source material for the document content.
Data1 The file represents information used to derive a visual presentation, such as tabular data.
Alternative2 The file is an alternative representation of the document content.
Supplement3 The file represents a supplemental representation of the document content.
Unspecified4 The relationship is not known or cannot be described by the other values.
Example
PdfDocument doc = new PdfDocument(PdfStandard.PdfA3B);
doc.AddAssociatedFile("invoice.xml", PdfAttachmentRelationship.Source,
    "application/xml", "Invoice data");
See Also