Aspose::Pdf::XImageCollection::AddWithName method

XImageCollection::AddWithName method

Adds new image to Image list. This method adds image as reference to the same PdfObject (which allows to decrease file size)

System::String Aspose::Pdf::XImageCollection::AddWithName(System::SharedPtr<Aspose::Pdf::XImage> image)
ParameterTypeDescription
imageSystem::SharedPtr<Aspose::Pdf::XImage>XImage to be added.

ReturnValue

Name of the added image.

See Also