Aspose::Pdf::Facades::PdfExtractor::GetNextImage method

PdfExtractor::GetNextImage(System::SharedPtr<System::IO::Stream>) method

Retrieve next image from PDF file and stores it into stream.

bool Aspose::Pdf::Facades::PdfExtractor::GetNextImage(System::SharedPtr<System::IO::Stream> outputStream)
ParameterTypeDescription
outputStreamSystem::SharedPtr<System::IO::Stream>Stream where image data will be saved

ReturnValue

True in case the image is successfully extracted.

See Also

PdfExtractor::GetNextImage(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::Drawing::Imaging::ImageFormat>) method

Retrieve next image from PDF file and stores it into stream with given image format.

bool Aspose::Pdf::Facades::PdfExtractor::GetNextImage(System::SharedPtr<System::IO::Stream> outputStream, System::SharedPtr<System::Drawing::Imaging::ImageFormat> format)
ParameterTypeDescription
outputStreamSystem::SharedPtr<System::IO::Stream>Stream where image data will be saved
formatSystem::SharedPtr<System::Drawing::Imaging::ImageFormat>The format of the image.

ReturnValue

True in case the image is successfully extracted.

See Also

PdfExtractor::GetNextImage(System::String) method

Retrieves next image from PDF document. Note: ExtractImage must be called before using of this method.

bool Aspose::Pdf::Facades::PdfExtractor::GetNextImage(System::String outputFile)
ParameterTypeDescription
outputFileSystem::StringFile where image will be stored

ReturnValue

True is image is successfully extracted

See Also

PdfExtractor::GetNextImage(System::String, System::SharedPtr<System::Drawing::Imaging::ImageFormat>) method

Retrieves next image from PDF document with given image format. Note: ExtractImage must be called before using of this method.

bool Aspose::Pdf::Facades::PdfExtractor::GetNextImage(System::String outputFile, System::SharedPtr<System::Drawing::Imaging::ImageFormat> format)
ParameterTypeDescription
outputFileSystem::StringFile where image will be stored
formatSystem::SharedPtr<System::Drawing::Imaging::ImageFormat>The format of the image.

ReturnValue

True is image is successfully extracted

See Also