Diagram constructor
Contents
[
Hide
]Diagram()
def __init__(self):
...
Diagram(filename)
Public class constructor, loads the diagram from the file.
def __init__(self, filename):
...
| Parameter | Type | Description |
|---|---|---|
| filename | str | The file name. |
Diagram(stream)
Public class constructor, loads the diagram from the stream.
def __init__(self, stream):
...
| Parameter | Type | Description |
|---|---|---|
| stream | io.RawIOBase | The data stream. |
Diagram(filename, format)
Public class constructor, loads the diagram from the file using predefined format.
def __init__(self, filename, format):
...
| Parameter | Type | Description |
|---|---|---|
| filename | str | The file name. |
| format | LoadFileFormat | The file format. |
Diagram(stream, format)
Public class constructor, loads the diagram from the stream using predefined format.
def __init__(self, stream, format):
...
| Parameter | Type | Description |
|---|---|---|
| stream | io.RawIOBase | The data stream. |
| format | LoadFileFormat | The data LoadFileFormat. |
Diagram(filename, options)
Public class constructor, loads the diagram from the file using predefined load file options.
def __init__(self, filename, options):
...
| Parameter | Type | Description |
|---|---|---|
| filename | str | The file name. |
| options | LoadOptions | The data LoadOptions. |
Diagram(stream, options)
Public class constructor, loads the diagram from the stream using predefined load file options.
def __init__(self, stream, options):
...
| Parameter | Type | Description |
|---|---|---|
| stream | io.RawIOBase | The data stream. |
| options | LoadOptions | The data LoadOptions. |
See Also
- module aspose.diagram
- class Diagram