# XPSConvertParams Class

> Class that works with XPS conversion parameters.

- Product: Adobe PDF Library 18
- Language: Java
- Version: APDFL18.0.5PlusP2e
- HTML page: https://docs.datalogics.com/apdfl18/Java/APDFL18.0.5PlusP2e/class/XPSConvertParams
- Version index: https://docs.datalogics.com/apdfl18/Java/APDFL18.0.5PlusP2e/llms.txt

```java
class XPSConvertParams
```

**Namespace:** `com::datalogics::PDFL`

## 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/apdfl18/Java/APDFL18.0.5PlusP2e/class/Document.md)

## Constructors

### XPSConvertParams

```java
com.datalogics.PDFL.XPSConvertParams.XPSConvertParams()
```

*constructor*

Set up default parameters for XPS conversion.

### XPSConvertParams

```java
com.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.

## Methods

### delete

```java
synchronized void com.datalogics.PDFL.XPSConvertParams.delete(Boolean disposing)
```

*protected*

**Parameters**

- `disposing` (`Boolean`)

**Returns:** `synchronized void`

### delete

```java
synchronized void com.datalogics.PDFL.XPSConvertParams.delete()
```

**Returns:** `synchronized void`

### finalize

```java
void com.datalogics.PDFL.XPSConvertParams.finalize()
```

*protected*

**Returns:** `void`

### getPathToSettingsFile

```java
String com.datalogics.PDFL.XPSConvertParams.getPathToSettingsFile()
```

**Returns:** `String`

The file system path to the .joboptions file.

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.

### setPathToSettingsFile

```java
void com.datalogics.PDFL.XPSConvertParams.setPathToSettingsFile(String theSettingsFile)
```

**Parameters**

- `theSettingsFile` (`String`): The file system path to the .joboptions file.

**Returns:** `void`

Sets the path to the .joboptions settings file used for XPS conversion. 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.
