Document constructor
init
Initializes new instance of Document
class.
def __init__(self, stream):
...
Parameter | Type | Description |
---|---|---|
stream | io.RawIOBase | Document stream |
init
Initializes new instance of Document
class.
def __init__(self, file_path):
...
Parameter | Type | Description |
---|---|---|
file_path | str | Document path |
init
Initializes new instance of Document
class.
def __init__(self, file_path, password):
...
Parameter | Type | Description |
---|---|---|
file_path | str | Document path |
password | str | Document password |
init
Initializes new instance of Document
class.
def __init__(self, stream, password):
...
Parameter | Type | Description |
---|---|---|
stream | io.RawIOBase | Document stream |
password | str | Document password |
See Also
- module
groupdocs.comparison
- class
Document