Aspose::Pdf::EmbeddedFileCollection class

EmbeddedFileCollection class

Class representing embedded files collection.

class EmbeddedFileCollection : public System::Collections::Generic::ICollection<System::SharedPtr<Aspose::Pdf::FileSpecification>>

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.
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_IsSynchronized()Gets a value indicating whether access to this collection is synchronized (thread safe).
get_Keys()Returns list of file attachment keys.
get_SyncRoot() constGets an object that can be used to synchronize access to this collection.
GetEnumerator() overrideReturns colleciton enumerator.
idx_get(int32_t)Gets embedded file by its index.
idx_get(System::String)Gets embedded file by its name.

See Also