create method

create(context)

Creates new instance of the splitter processor.

def create(self, context: aspose.words.lowcode.SplitterContext):
    ...
ParameterTypeDescription
contextSplitterContext

Examples

Shows how to split document by pages using context.

doc = MY_DIR + 'Big document.docx'
splitter_context = aw.lowcode.SplitterContext()
splitter_context.split_options.split_criteria = aw.lowcode.SplitCriteria.PAGE
aw.lowcode.Splitter.create(splitter_context).from_file(input=doc).to_file(output=ARTIFACTS_DIR + 'LowCode.SplitContextDocument.docx').execute()

See Also