Aspose::Pdf::Collection class

Collection class

Represents class for Collection(12.3.5 Collections).

class Collection : public Aspose::Pdf::EmbeddedFileCollection

Methods

MethodDescription
Add(const System::SharedPtr<FileSpecification>&) overrideAdds embedded file specification into collection.
Add(System::String, System::SharedPtr<FileSpecification>)Adds file to embedded files with the specified key.
Collection()Initializes new Collection object.
CopyTo(System::ArrayPtr<System::SharedPtr<FileSpecification>>, int32_t) overrideCopies array of FileSpecification object into colleciton.
Delete(System::String)Delete embedded file by name.
Delete()Remove all embedded files from document.
DeleteByKey(System::String)Deletes file from the collection by its key in the collection.
FindByName(System::String)Returns embedded file by its name.
get_Count() const overrideGets number of embedded files in collection.
get_DefaultEntry()Default embedded file name.
get_IsSynchronized()Gets a value indicating whether access to this collection is synchronized (thread safe).
get_Keys()Returns list of file attachment keys.
get_Schema()Gets a “Schema” of a document collection.
get_SyncRoot() constGets an object that can be used to synchronize access to this collection.
GetEnumerator() overrideReturns colleciton enumerator.
GetSortedCollection()Gets a collection of files sorted according to the specification.
idx_get(int32_t)Gets embedded file by its index.
idx_get(System::String)Gets embedded file by its name.

See Also