XpsOptions class
Contents
[
Hide
]XpsOptions class
Provides options that control how a presentation is saved in XPS format.
Inheritance:XpsOptions → SaveOptions
The XpsOptions type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
__init__ | Default constructor. |
Properties
| Property | Description |
|---|---|
warning_callback | Returns of sets an object which receives warnings and decides whether loading process will continue or will be aborted. Read/write IWarningCallback. |
progress_callback | Represents a callback object for saving progress updates in percentage. See IProgressCallback. |
default_regular_font | Returns or sets font used in case source font is not found. Read-write str. |
gradient_style | Returns or sets the visual style of the gradient. Read/write GradientStyle. |
skip_java_script_links | Specifies whether to skip hyperlinks with JavaScript calls when saving the presentation. Read/write bool. The default value is false . |
show_hidden_slides | Specifies whether the generated document should include hidden slides or not. Default is false. |
save_metafiles_as_png | True to convert all metafiles used in a presentation to the PNG images. Read/write bool. |
draw_slides_frame | True to draw black frame around each slide. Read/write bool. |
Examples
The following example shows how to converting presentations to XPS using default settings.
The following example shows how to converting presentations to XPS using custom settings.
See Also
- class
SaveOptions - class
XpsOptions - module
aspose.slides.export - library
Aspose.Slides