Class AssociatedFileCollection
Collection of associated files used for page-level or marked-content /AF arrays.
Inheritance
AssociatedFileCollection
Assembly: DRIT.Pdf.dll
Syntax
public sealed class AssociatedFileCollection : IEnumerable<AssociatedFileEntry>, IEnumerable
Properties
Count
Gets the number of associated file entries in this collection.
Declaration
public int Count { get; }
Property Value
this[int]
Gets the entry at the specified index.
Declaration
public AssociatedFileEntry this[int index] { get; }
Parameters
| Type |
Name |
Description |
| int |
index |
The zero-based index.
|
Property Value
Methods
Add(AssociatedFileRelationshipType, EmbeddedFile)
Associate an already-embedded file.
Declaration
public AssociatedFileEntry Add(AssociatedFileRelationshipType relationshipType, EmbeddedFile embeddedFile)
Parameters
Returns
Add(AssociatedFileRelationshipType, string, string?, EmbeddedFileCollection)
Add a new empty embedded file to embeddedFiles and associate it.
Declaration
public AssociatedFileEntry Add(AssociatedFileRelationshipType relationshipType, string name, string? mimeType, EmbeddedFileCollection embeddedFiles)
Parameters
Returns
GetEnumerator()
Returns an enumerator that iterates through the associated file entries.
Declaration
public IEnumerator<AssociatedFileEntry> GetEnumerator()
Returns
Implements