XpsOptions class

XpsOptions class

Provides options that control how a presentation is saved in XPS format.

Inheritance:XpsOptionsSaveOptions

The XpsOptions type exposes the following members:

Constructors

ConstructorDescription
__init__Default constructor.

Properties

PropertyDescription
warning_callbackReturns of sets an object which receives warnings and decides whether loading process will continue or will be aborted.
Read/write IWarningCallback.
progress_callbackRepresents a callback object for saving progress updates in percentage.
See IProgressCallback.
default_regular_fontReturns or sets font used in case source font is not found.
Read-write str.
gradient_styleReturns or sets the visual style of the gradient.
Read/write GradientStyle.
skip_java_script_linksSpecifies whether to skip hyperlinks with JavaScript calls when saving the presentation.
Read/write bool. The default value is false .
show_hidden_slidesSpecifies whether the generated document should include hidden slides or not.
Default is false.
save_metafiles_as_pngTrue to convert all metafiles used in a presentation to the PNG images.
Read/write bool.
draw_slides_frameTrue 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