Aspose::Pdf::EmbeddedFileCollection class

EmbeddedFileCollection class

Class representing embedded files collection.

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

Methods

MethodDescription
Add(const System::SharedPtr<FileSpecification>&) overrideAdds embedded file specification into collection.
Add(const System::String&, const 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(const System::String&)Delete embedded file by name.
Delete()Remove all embedded files from document.
DeleteByKey(const System::String&)Deletes file from the collection by its key in the collection.
FindByName(const 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(const System::String&)Gets embedded file by its name.

See Also