
## XAMLSaveOptions class

Allows to specify additional options when rendering diagram pages to XAML.



**Inheritance:** [XAMLSaveOptions](/diagram/python-net/aspose.diagram.saving/xamlsaveoptions) → 
[SaveOptions](/diagram/python-net/aspose.diagram.saving/saveoptions)



The XAMLSaveOptions type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [XAMLSaveOptions()](/diagram/python-net/aspose.diagram.saving/xamlsaveoptions/__init__/#) | Initializes a new instance of this class that can be used to save a document in the [SaveFileFormat](/diagram/python-net/aspose.diagram/savefileformat) format. |


### Properties
| Property | Description |
| :- | :- |
| [save_format](/diagram/python-net/aspose.diagram.saving/xamlsaveoptions/save_format) | Specifies the format in which the rendered diagram pages will be saved if this save options object is used.<br/>Can be [SaveFileFormat](/diagram/python-net/aspose.diagram/savefileformat) only. |
| [default_font](/diagram/python-net/aspose.diagram.saving/xamlsaveoptions/default_font) | When characters in the diagram are unicode and not be set with correct font value or the font is not installed locally,<br/>they may appear as block in pdf, image or XPS.<br/>Set the DefaultFont such as MingLiu or MS Gothic to show these characters. |
| [warning_callback](/diagram/python-net/aspose.diagram.saving/xamlsaveoptions/warning_callback) | Gets or sets warning callback. |
| [page_count](/diagram/python-net/aspose.diagram.saving/xamlsaveoptions/page_count) | Gets or sets the number of pages to render in XAML.<br/>Default is MaxValue which means all pages of the diagram will be rendered. |
| [page_index](/diagram/python-net/aspose.diagram.saving/xamlsaveoptions/page_index) | Gets or sets the 0-based index of the first page to render. Default is 0. |
| [save_foreground_pages_only](/diagram/python-net/aspose.diagram.saving/xamlsaveoptions/save_foreground_pages_only) | Specifies whether all pages will be saved in image or only foreground. |
| [stream_provider](/diagram/python-net/aspose.diagram.saving/xamlsaveoptions/stream_provider) | Gets or sets the IStreamProvider for exporting objects. |


### Methods
| Method | Description |
| :- | :- |
| [create_save_options(save_format)](/diagram/python-net/aspose.diagram.saving/xamlsaveoptions/create_save_options/#SaveFileFormat) | Creates a save options object of a class suitable for the specified save format. |


### See Also

* module [aspose.diagram.saving](../)
* class [SaveOptions](/diagram/python-net/aspose.diagram.saving/saveoptions)
