XPSSaveOptions class
XPSSaveOptions class
Allows to specify additional options when rendering diagram pages to XPS.
Inheritance: XPSSaveOptions → SaveOptions
The XPSSaveOptions type exposes the following members:
Constructors
Constructor | Description |
---|---|
XPSSaveOptions() | Initializes a new instance of this class that can be used to save a document in the SaveFileFormat format. |
Properties
Property | Description |
---|---|
save_format | Specifies the format in which the rendered diagram pages will be saved if this save options object is used. Can be SaveFileFormat only. |
default_font | When characters in the diagram are unicode and not be set with correct font value or the font is not installed locally, they may appear as block in pdf, image or XPS. Set the DefaultFont such as MingLiu or MS Gothic to show these characters. |
warning_callback | Gets or sets warning callback. |
page_count | Gets or sets the number of pages to render in XPS. Default is MaxValue which means all pages of the diagram will be rendered. |
page_index | Gets or sets the 0-based index of the first page to render. Default is 0. |
save_foreground_pages_only | Specifies whether all pages will be saved in image or only foreground. |
export_hidden_page | Defines whether need exporting the hidden page or not. |
Methods
Method | Description |
---|---|
create_save_options(save_format) | Creates a save options object of a class suitable for the specified save format. |
See Also
- module aspose.diagram.saving
- class SaveOptions