# XPSConvertParams Class

> Class that works with XPS conversion parameters.

- Product: Adobe PDF Library 21
- Language: .NET Framework
- Version: APDFL21.0.0PlusP1e
- HTML page: https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/XPSConvertParams
- Version index: https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/llms.txt

```csharp
class XPSConvertParams : SystemIDisposable
```

**Namespace:** `Datalogics::PDFL`

**Inherits from:** `SystemIDisposable`

## Description

Class that works with XPS conversion parameters.

The XML Paper Specification (XPS) is a standard document format that Microsoft created in 2006 as an alternative to the PDF format. The XPS format is intended to be a simple but secure file format, without embedded images or video clips, and easy to share and print.

NOTE: This class is only available on Windows or Linux.

**Referenced by:** [`Document`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/Document.md)

## Constructors

### XPSConvertParams

```csharp
Datalogics.PDFL.XPSConvertParams.XPSConvertParams()
```

*constructor*

Set up default parameters for XPS conversion.

### XPSConvertParams

```csharp
Datalogics.PDFL.XPSConvertParams.XPSConvertParams(string SettingsFile)
```

*constructor*

**Parameters**

- `SettingsFile` (`string`): The path to the .joboptions file to use. By default, the Standard.joboptions file located in the Resources directory is used. The default file will be used if the specified file is not found.

Set up parameters for XPS conversion.

## Properties

### PathToSettingsFile

```csharp
string Datalogics.PDFL.XPSConvertParams.PathToSettingsFile { get; set; }
```

Gets the path to the .joboptions settings file used for XPS conversion.

By default, the Standard.joboptions file located in the Resources directory is used.

## Methods

### Dispose

```csharp
void Datalogics.PDFL.XPSConvertParams.Dispose()
```

**Returns:** `void`
