Aspose::Words::LowCode::Splitter class

Splitter class

Provides methods intended to split the documents into parts using different criteria.

class Splitter

Methods

MethodDescription
static ExtractPages(const System::String&, const System::String&, int32_t, int32_t)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 ExtractPages(const System::String&, const System::String&, Aspose::Words::SaveFormat, int32_t, int32_t)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 ExtractPages(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&, Aspose::Words::SaveFormat, int32_t, int32_t)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 RemoveBlankPages(const System::String&, const System::String&)Removes empty pages from the document and saves the output. Returns a list of page numbers that were removed.
static RemoveBlankPages(const System::String&, const System::String&, Aspose::Words::SaveFormat)Removes empty pages from the document and saves the output in the specified format. Returns a list of page numbers that were removed.
static RemoveBlankPages(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&, Aspose::Words::SaveFormat)Removes blank pages from a document provided in an input stream and saves the updated document to an output stream in the specified save format. Returns a list of page numbers that were removed.
static Split(const System::String&, const System::String&, const System::SharedPtr<Aspose::Words::LowCode::SplitOptions>&)Splits a document into multiple parts based on the specified split options and saves the resulting parts to files. The output file format is determined by the extension of the output file name.
static Split(const System::String&, const System::String&, Aspose::Words::SaveFormat, const System::SharedPtr<Aspose::Words::LowCode::SplitOptions>&)Splits a document into multiple parts based on the specified split options and saves the resulting parts to files in the specified save format.
static Split(const System::SharedPtr<System::IO::Stream>&, Aspose::Words::SaveFormat, const System::SharedPtr<Aspose::Words::LowCode::SplitOptions>&)Splits a document from an input stream into multiple parts based on the specified split options and returns the resulting parts as an array of streams in the specified save format.
Splitter()

See Also