read method

read(src, load_options, document)

Reads the data from the specified stream into the Document instance.

def read(self, src: io.BytesIO, load_options: aspose.words.loading.LoadOptions, document: aspose.words.Document):
    ...
ParameterTypeDescription
srcio.BytesIOThe source stream to read the document from.
load_optionsLoadOptionsAn additional load options to load the document.
documentDocumentThe instance of the Document class to read the data to. If the instance contains some content, it will be overridden by the data from the source stream

See Also