EmbeddedFileCollection

EmbeddedFileCollection

Overview

EmbeddedFileCollection is a class in Aspose.PDF FOSS for C++.

EmbeddedFileCollection provides Count() to retrieve the total number of embedded files and Keys() to obtain a list of their identifiers.

This class declares 9 methods for EmbeddedFileCollection objects in C++ programs. Available methods include: Add, Count, Delete, DeleteByKey, EmbeddedFileCollection, FindByName, Keys. Public members are accessible to any C++ application after installing the Aspose.PDF FOSS for C++ package.

Methods

SignatureDescription
EmbeddedFileCollection()Calls EmbeddedFileCollection on this EmbeddedFileCollection instance.
Add(file: FileSpecification)embeds a file into the PDF, andDeleteByKey(key)` removes an embedded file by its name
Add(key: std::string, file: FileSpecification)Calls Add(key, file) on this EmbeddedFileCollection instance.
DeleteByKey(key: std::string)Calls DeleteByKey(key) on this EmbeddedFileCollection instance.
Delete(name: std::string)Calls Delete(name) on this EmbeddedFileCollection instance.
Delete()
FindByName(name: std::string) → FileSpecificationCalls FindByName(name) on this EmbeddedFileCollection instance.
Count() → intCalls Count on this EmbeddedFileCollection instance.
Keys() → std::vector<std::string>Calls Keys on this EmbeddedFileCollection instance.

See Also

 English