Collection Class
Represents class for Collection(12.3.5 Collections).
Inheritance Hierarchy

Namespace: Aspose.Pdf
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntax
public class Collection : EmbeddedFileCollection

The Collection type exposes the following members.

Constructors
  NameDescription
Public methodCollection
Initializes new Collection object.
Properties
  NameDescription
Public propertyCount
Gets number of embedded files in collection.
(Inherited from EmbeddedFileCollection.)
Public propertyDefaultEntry
Default embedded file name.
Public propertyIsSynchronized
Gets a value indicating whether access to this collection is synchronized (thread safe).
(Inherited from EmbeddedFileCollection.)
Public propertyItemInt32
Gets embedded file by its index.
(Inherited from EmbeddedFileCollection.)
Public propertyItemString
Gets embedded file by its name.
(Inherited from EmbeddedFileCollection.)
Public propertySyncRoot
Gets an object that can be used to synchronize access to this collection.
(Inherited from EmbeddedFileCollection.)
Methods
  NameDescription
Public methodAdd(FileSpecification)
Adds embedded file specification into collection.
(Inherited from EmbeddedFileCollection.)
Public methodAdd(String, FileSpecification)
Adds file to embedded files with the specified key.
(Inherited from EmbeddedFileCollection.)
Public methodCopyTo
Copies array of FileSpecification object into colleciton.
(Inherited from EmbeddedFileCollection.)
Public methodDelete
Remove all embedded files from document.
(Inherited from EmbeddedFileCollection.)
Public methodDelete(String)
Delete embedded file by name.
(Inherited from EmbeddedFileCollection.)
Public methodDeleteByKey
Deletes file from the collection by its key in the collection.
(Inherited from EmbeddedFileCollection.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator
Returns colleciton enumerator.
(Inherited from EmbeddedFileCollection.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also