Aspose::Pdf::Devices::DocumentDevice::Process method

DocumentDevice::Process(System::SharedPtr<Aspose::Pdf::Document>, int32_t, int32_t, System::SharedPtr<System::IO::Stream>) method

Each device represents some operation on the document, e.g. we can convert pdf document into another format.

virtual void Aspose::Pdf::Devices::DocumentDevice::Process(System::SharedPtr<Aspose::Pdf::Document> document, int32_t fromPage, int32_t toPage, System::SharedPtr<System::IO::Stream> output)=0
ParameterTypeDescription
documentSystem::SharedPtr<Aspose::Pdf::Document>The document to process.
fromPageint32_tDefines the page from which to start processing.
toPageint32_tDefines the last page to process.
outputSystem::SharedPtr<System::IO::Stream>Defines stream where the results of processing are stored.

See Also

DocumentDevice::Process(System::SharedPtr<Aspose::Pdf::Document>, int32_t, int32_t, System::String) method

Processes certain pages of the document and saves results into file.

void Aspose::Pdf::Devices::DocumentDevice::Process(System::SharedPtr<Aspose::Pdf::Document> document, int32_t fromPage, int32_t toPage, System::String outputFileName)
ParameterTypeDescription
documentSystem::SharedPtr<Aspose::Pdf::Document>The document to process.
fromPageint32_tThe first page to start processing.
toPageint32_tThe last page of processing.
outputFileNameSystem::StringDefines file where the results of processing are stored.

See Also

DocumentDevice::Process(System::SharedPtr<Aspose::Pdf::Document>, System::SharedPtr<System::IO::Stream>) method

Processes the whole document and saves results into stream.

void Aspose::Pdf::Devices::DocumentDevice::Process(System::SharedPtr<Aspose::Pdf::Document> document, System::SharedPtr<System::IO::Stream> output)
ParameterTypeDescription
documentSystem::SharedPtr<Aspose::Pdf::Document>The document to process.
outputSystem::SharedPtr<System::IO::Stream>Defines stream where the results of processing are stored.

See Also

DocumentDevice::Process(System::SharedPtr<Aspose::Pdf::Document>, System::String) method

Processes the whole document and saves results into file.

void Aspose::Pdf::Devices::DocumentDevice::Process(System::SharedPtr<Aspose::Pdf::Document> document, System::String outputFileName)
ParameterTypeDescription
documentSystem::SharedPtr<Aspose::Pdf::Document>The document to process.
outputFileNameSystem::StringDefines file where the results of processing are stored.

See Also