GemBox.Presentation
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    XpsSaveOptions Class

    Namespace:
    GemBox.Presentation
    Assembly:
    GemBox.Presentation.dll

    Represents a class that stores saving options for XML Paper Specification (XPS) file.

    • C#
    • VB.NET
    public sealed class XpsSaveOptions : SaveOptions
    Public NotInheritable Class XpsSaveOptions
        Inherits SaveOptions
    Inheritance:
    System.Object
    SaveOptions
    XpsSaveOptions
    Remarks

    For more information about a level of support for XPS format, see supported file formats.

    Constructors

    XpsSaveOptions()

    Initializes a new instance of the XpsSaveOptions class.

    • C#
    • VB.NET
    public XpsSaveOptions()
    Public Sub New

    Properties

    ContentType

    Gets the content-type for XPS file format: application/vnd.ms-xpsdocument.

    • C#
    • VB.NET
    public override string ContentType { get; }
    Public Overrides ReadOnly Property ContentType As String
    Property Value
    System.String

    The content-type for XPS file format.

    Overrides
    SaveOptions.ContentType

    RenderingMode

    Gets or sets the rendering mode used when saving the content to an XML Paper Specification (XPS) file.

    • C#
    • VB.NET
    public RenderingMode RenderingMode { get; set; }
    Public Property RenderingMode As RenderingMode
    Property Value
    RenderingMode

    The rendering mode used when saving the content to an XML Paper Specification (XPS) file.

    Exceptions
    System.NotSupportedException

    The rendering mode is not supported because of the reasons explained in the exception's System.Exception.Message.

    Inherited Properties

    Image

    Gets the default saving options for image file format. Image will be saved in Bmp format.

    (Inherited from SaveOptions)

    Pdf

    Gets the default saving options for Portable Document Format (PDF).

    (Inherited from SaveOptions)

    Pptx

    Gets the default saving options for PowerPoint Presentation (PPTX) format.

    (Inherited from SaveOptions)

    Xps

    Gets the default saving options for XML Paper Specification (XPS) format.

    (Inherited from SaveOptions)

    See Also

    Xps
    Save(String, SaveOptions)
    Save(Stream, SaveOptions)
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.