Aspose::Pdf::XImageCollection::Add method

XImageCollection::Add(System::SharedPtr<Aspose::Pdf::BitmapInfo>) method

Adds entity to the end of the collection, so entity can be accessed by the last index.

System::String Aspose::Pdf::XImageCollection::Add(System::SharedPtr<Aspose::Pdf::BitmapInfo> bitmapInfo)
ParameterTypeDescription
bitmapInfoSystem::SharedPtr<Aspose::Pdf::BitmapInfo>Object containing array of pixels and bitmap information (Width, Height, PixelFormat).

ReturnValue

Name of the added image.

See Also

XImageCollection::Add(System::SharedPtr<Aspose::Pdf::BitmapInfo>, Aspose::Pdf::ImageFilterType) method

Adds entity to the end of the collection, so entity can be accessed by the last index.

System::String Aspose::Pdf::XImageCollection::Add(System::SharedPtr<Aspose::Pdf::BitmapInfo> bitmapInfo, Aspose::Pdf::ImageFilterType filterType)
ParameterTypeDescription
bitmapInfoSystem::SharedPtr<Aspose::Pdf::BitmapInfo>Object containing array of pixels and bitmap information (Width, Height, PixelFormat).
filterTypeAspose::Pdf::ImageFilterTypeThe image filter type.

ReturnValue

Name of the added image.

See Also

XImageCollection::Add(System::SharedPtr<System::IO::Stream>) method

Adds entity to the end of the collection, so entity can be accessed by the last index.

System::String Aspose::Pdf::XImageCollection::Add(System::SharedPtr<System::IO::Stream> image)
ParameterTypeDescription
imageSystem::SharedPtr<System::IO::Stream>Stream containing image data (in JPEG format).

ReturnValue

Name of the added image.

See Also

XImageCollection::Add(System::SharedPtr<System::IO::Stream>, Aspose::Pdf::ImageFilterType) method

Adds entity to the end of the collection, so entity can be accessed by the last index.

System::String Aspose::Pdf::XImageCollection::Add(System::SharedPtr<System::IO::Stream> image, Aspose::Pdf::ImageFilterType filterType)
ParameterTypeDescription
imageSystem::SharedPtr<System::IO::Stream>Stream containing image data.
filterTypeAspose::Pdf::ImageFilterTypeThe image filter type.

ReturnValue

Name of the added image.

See Also

XImageCollection::Add(System::SharedPtr<System::IO::Stream>, int32_t) method

Adds entity to the end of the collection, so entity can be accessed by the last index.

void Aspose::Pdf::XImageCollection::Add(System::SharedPtr<System::IO::Stream> image, int32_t quality)
ParameterTypeDescription
imageSystem::SharedPtr<System::IO::Stream>Stream containing image data (in JPEG format).
qualityint32_tJPEG quality.

See Also