---
title: "DiagramSaveOptions constructor"
url: "https://reference.aspose.com/diagram/python-net/aspose.diagram.saving/diagramsaveoptions/__init__/"
product: "Aspose.Diagram for Python via .NET API References"
---


## DiagramSaveOptions() {#}

Initializes a new instance of this class that can be used to save a diagram in the VDX format.



```python
def __init__(self):
    ...
```




## DiagramSaveOptions(save_format) {#SaveFileFormat}

Initializes a new instance of this class that can be used to save a diagram in the VDX or VSX format.



```python
def __init__(self, save_format):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| save_format | [SaveFileFormat](/diagram/python-net/aspose.diagram/savefileformat) |  |



### See Also
* module [aspose.diagram.saving](../../)
* class [DiagramSaveOptions](/diagram/python-net/aspose.diagram.saving/diagramsaveoptions)
