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):
...
Parameter | Type | Description |
---|---|---|
src | io.BytesIO | The source stream to read the document from. |
load_options | LoadOptions | An additional load options to load the document. |
document | Document | The 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
- module aspose.words
- class IDocumentReaderPlugin