merge_stream method

merge_stream(output_stream, input_streams, save_format)

Merges the given input documents into a single output document using specified input output streams and the final document format.

def merge_stream(self, output_stream: io.BytesIO, input_streams: List[io.BytesIO], save_format: aspose.words.SaveFormat):
    ...
ParameterTypeDescription
output_streamio.BytesIOThe output stream.
input_streamsList[io.BytesIO]The input streams.
save_formatSaveFormatThe save format.

merge_stream(output_stream, input_streams, save_options, merge_format_mode)

Merges the given input documents into a single output document using specified input output streams and save options.

def merge_stream(self, output_stream: io.BytesIO, input_streams: List[io.BytesIO], save_options: aspose.words.saving.SaveOptions, merge_format_mode: aspose.words.lowcode.MergeFormatMode):
    ...
ParameterTypeDescription
output_streamio.BytesIOThe output stream.
input_streamsList[io.BytesIO]The input streams.
save_optionsSaveOptionsThe save options.
merge_format_modeMergeFormatModeSpecifies how to merge formatting that clashes.

merge_stream(input_streams, merge_format_mode)

Merges the given input documents into a single document and returns Document instance of the final document.

def merge_stream(self, input_streams: List[io.BytesIO], merge_format_mode: aspose.words.lowcode.MergeFormatMode):
    ...
ParameterTypeDescription
input_streamsList[io.BytesIO]The input streams.
merge_format_modeMergeFormatModeSpecifies how to merge formatting that clashes.

See Also