• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class AssociatedFileCollection

Collection of associated files used for page-level or marked-content /AF arrays.

Inheritance
object
AssociatedFileCollection
Implements
IEnumerable<AssociatedFileEntry>
IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Pdf.EmbeddedFiles
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
Type Description
int

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
Type Description
AssociatedFileEntry

Methods

Add(AssociatedFileRelationshipType, EmbeddedFile)

Associate an already-embedded file.

Declaration
public AssociatedFileEntry Add(AssociatedFileRelationshipType relationshipType, EmbeddedFile embeddedFile)
Parameters
Type Name Description
AssociatedFileRelationshipType relationshipType
EmbeddedFile embeddedFile
Returns
Type Description
AssociatedFileEntry

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
Type Name Description
AssociatedFileRelationshipType relationshipType
string name
string mimeType
EmbeddedFileCollection embeddedFiles
Returns
Type Description
AssociatedFileEntry

GetEnumerator()

Returns an enumerator that iterates through the associated file entries.

Declaration
public IEnumerator<AssociatedFileEntry> GetEnumerator()
Returns
Type Description
IEnumerator<AssociatedFileEntry>

Implements

IEnumerable<T>
IEnumerable
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX