load method

load(input_stream, load_options)

Load the document using the specified load options.

def load(self, input_stream: io.BytesIO, load_options: aspose.words.loading.LoadOptions):
    ...
ParameterTypeDescription
input_streamio.BytesIOThe input stream.
load_optionsLoadOptionsThe document load options. Can be None, in this case the document is loaded with default load options.

See Also