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)
Parameter | Type | Description |
---|---|---|
image | System::SharedPtr<Aspose::Pdf::XImage> | XImage to be added. |
ReturnValue
Name of the added image.
See Also
- Class String
- Typedef SharedPtr
- Class XImage
- Class XImageCollection
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++