Aspose::Words::LowCode::Splitter::ExtractPages method

Splitter::ExtractPages(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&, Aspose::Words::SaveFormat, int32_t, int32_t) method

Extracts a specified range of pages from a document stream and saves the extracted pages to an output stream using the specified save format.

static void Aspose::Words::LowCode::Splitter::ExtractPages(const System::SharedPtr<System::IO::Stream> &inputStream, const System::SharedPtr<System::IO::Stream> &outputStream, Aspose::Words::SaveFormat saveFormat, int32_t startPageIndex, int32_t pageCount)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&The input stream.
outputStreamconst System::SharedPtr<System::IO::Stream>&The output stream.
saveFormatAspose::Words::SaveFormatThe save format.
startPageIndexint32_tThe zero-based index of the first page to extract.
pageCountint32_tNumber of pages to be extracted.

See Also

Splitter::ExtractPages(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<Aspose::Words::Saving::SaveOptions>&, int32_t, int32_t) method

Extracts a specified range of pages from a document stream and saves the extracted pages to an output stream using the specified save format.

static void Aspose::Words::LowCode::Splitter::ExtractPages(const System::SharedPtr<System::IO::Stream> &inputStream, const System::SharedPtr<System::IO::Stream> &outputStream, const System::SharedPtr<Aspose::Words::Saving::SaveOptions> &saveOptions, int32_t startPageIndex, int32_t pageCount)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&The input stream.
outputStreamconst System::SharedPtr<System::IO::Stream>&The output stream.
saveOptionsconst System::SharedPtr<Aspose::Words::Saving::SaveOptions>&The save options.
startPageIndexint32_tThe zero-based index of the first page to extract.
pageCountint32_tNumber of pages to be extracted.

See Also

Splitter::ExtractPages(const System::String&, const System::String&, Aspose::Words::SaveFormat, int32_t, int32_t) method

Extracts a specified range of pages from a document file and saves the extracted pages to a new file using the specified save format.

static void Aspose::Words::LowCode::Splitter::ExtractPages(const System::String &inputFileName, const System::String &outputFileName, Aspose::Words::SaveFormat saveFormat, int32_t startPageIndex, int32_t pageCount)
ParameterTypeDescription
inputFileNameconst System::String&The input file name.
outputFileNameconst System::String&The output file name.
saveFormatAspose::Words::SaveFormatThe save format.
startPageIndexint32_tThe zero-based index of the first page to extract.
pageCountint32_tNumber of pages to be extracted.

See Also

Splitter::ExtractPages(const System::String&, const System::String&, const System::SharedPtr<Aspose::Words::Saving::SaveOptions>&, int32_t, int32_t) method

Extracts a specified range of pages from a document file and saves the extracted pages to a new file using the specified save format.

static void Aspose::Words::LowCode::Splitter::ExtractPages(const System::String &inputFileName, const System::String &outputFileName, const System::SharedPtr<Aspose::Words::Saving::SaveOptions> &saveOptions, int32_t startPageIndex, int32_t pageCount)
ParameterTypeDescription
inputFileNameconst System::String&The input file name.
outputFileNameconst System::String&The output file name.
saveOptionsconst System::SharedPtr<Aspose::Words::Saving::SaveOptions>&The save options.
startPageIndexint32_tThe zero-based index of the first page to extract.
pageCountint32_tNumber of pages to be extracted.

See Also

Splitter::ExtractPages(const System::String&, const System::String&, int32_t, int32_t) method

Extracts a specified range of pages from a document file and saves the extracted pages to a new file. The output file format is determined by the extension of the output file name.

static void Aspose::Words::LowCode::Splitter::ExtractPages(const System::String &inputFileName, const System::String &outputFileName, int32_t startPageIndex, int32_t pageCount)
ParameterTypeDescription
inputFileNameconst System::String&The input file name.
outputFileNameconst System::String&The output file name.
startPageIndexint32_tThe zero-based index of the first page to extract.
pageCountint32_tNumber of pages to be extracted.

See Also