XPSSaveOptions Class

Allows to specify additional options when rendering diagram pages to XPS.
Inheritance Hierarchy

Namespace:  Aspose.Diagram.Saving
Assembly:  Aspose.Diagram (in Aspose.Diagram.dll) Version: 20.7.0.0 (20.7)
Syntax
public class XPSSaveOptions : SaveOptions

The XPSSaveOptions type exposes the following members.

Constructors
  NameDescription
Public methodXPSSaveOptions
Initializes a new instance of this class that can be used to save a document in the XPS format.
Properties
  NameDescription
Public propertyDefaultFont
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.
(Inherited from SaveOptions.)
Public propertyExportHiddenPage
Defines whether need exporting the hidden page or not.
Public propertyPageCount
Gets or sets the number of pages to render in XPS. Default is MaxValue which means all pages of the diagram will be rendered.
Public propertyPageIndex
Gets or sets the 0-based index of the first page to render. Default is 0.
Public propertySaveForegroundPagesOnly
Specifies whether all pages will be saved in image or only foreground.
Public propertySaveFormat
Specifies the format in which the rendered diagram pages will be saved if this save options object is used. Can be XPS only.
(Overrides SaveOptionsSaveFormat.)
Public propertyWarningCallback
Gets or sets warning callback.
(Inherited from SaveOptions.)
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also