Click or drag to resize

Relationship Enumeration

Specifies the relationship between the associated file and the PDF document or the specific object it is associated with.

Namespace: Patagames.Pdf.Enums
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.111.2704
Syntax
public enum Relationship
Members
Member nameValueDescription
None0 Indicates that the /AFRelationship key is absent from the file specification dictionary. This is typically used for backward compatibility with older PDF standards (PDF 1.7 or lower) where associated files are not defined, or to represent an uninitialized property state.
Source1 Shall be used if this file specification is the original source material for the associated content.
Data2 Shall be used if this file specification represents information used to derive a visual presentation – such as for a table or a graph.
Alternative3 Shall be used if this file specification is an alternative representation of content, for example audio.
Supplement4 Shall be used if this file specification represents a supplemental representation of the original source or data that may be more easily consumable (e.g., A MathML version of an equation).
EncryptedPayload5 shall be used if this file specification is an encrypted payload document that should be displayed to the user if the PDF processor has the cryptographic filter needed to decrypt the document.
FormData6 shall be used if this file specification is the data associated with the AcroForm of this PDF.
Schema7 shall be used if this file specification is a schema definition for the associated object (e.g. an XML schema associated with a metadata stream).
Unspecified8 shall be used when the relationship is not known or cannot be described using one of the other values.
Other9 Indicates that the /AFRelationship key contains a custom or extension value (such as a registered second-class name) that is not covered by the predefined values in this enumeration.
Remarks

This enumeration represents the predefined values for the mandatory /AFRelationship key within a file specification dictionary when included in an /AF (Associated Files) array, as defined in the ISO 32000-2 (PDF 2.0) and ISO 19005-3 (PDF/A-3) specifications.

Although the /AFRelationship key is technically optional for standard file specifications, it becomes strictly required once the file is referenced as an Associated File.

See Also