
**Inheritance:** java.lang.Object, ImageOptionsBase

The psd file format create options.

## Constructors

| Constructor | Description |
| --- | --- |
| [PsdOptions()](#PsdOptions) | Initializes a new instance of the PsdOptions class. |
| [PsdOptions(PsdOptions options)](#PsdOptions-com.aspose.cad.imageoptions.PsdOptions) | Initializes a new instance of the PsdOptions class. |

## Methods

| Method | Description |
| --- | --- |
| [getTargetFormat()](#getTargetFormat) |  |
| [getXmpData()](#getXmpData) | Get or set XMP data container |
| [setXmpData(com.aspose.cad.xmp.XmpPacketWrapper value)](#setXmpData-com.aspose.cad.xmp.XmpPacketWrapper) | Get or set XMP data container |
| [getVersion()](#getVersion) | Gets or sets the psd file version. |
| [setVersion(int value)](#setVersion-int) | Gets or sets the psd file version. |
| [getCompressionMethod()](#getCompressionMethod) | Gets or sets the psd compression method. |
| [setCompressionMethod(short value)](#setCompressionMethod-short) | Gets or sets the psd compression method. |
| [getColorMode()](#getColorMode) | Gets or sets the psd color mode. |
| [setColorMode(short value)](#setColorMode-short) | Gets or sets the psd color mode. |
| [getChannelBitsCount()](#getChannelBitsCount) | Gets or sets the bits count per color channel. |
| [setChannelBitsCount(short value)](#setChannelBitsCount-short) | Gets or sets the bits count per color channel. |
| [getChannelsCount()](#getChannelsCount) | Gets or sets the color channels count. |
| [setChannelsCount(short value)](#setChannelsCount-short) | Gets or sets the color channels count. |

### PsdOptions() {#PsdOptions}
```java
public PsdOptions()
```

Initializes a new instance of the PsdOptions class.

### PsdOptions(PsdOptions options) {#PsdOptions-com.aspose.cad.imageoptions.PsdOptions}
```java
public PsdOptions(PsdOptions options)
```

Initializes a new instance of the PsdOptions class.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| options | PsdOptions | The options. |

### getTargetFormat() {#getTargetFormat}
```java
public long getTargetFormat()
```

**Returns:** long

### getXmpData() {#getXmpData}
```java
public com.aspose.cad.xmp.XmpPacketWrapper getXmpData()
```

Get or set XMP data container

**Returns:** com.aspose.cad.xmp.XmpPacketWrapper - The XMP data container.

### setXmpData(com.aspose.cad.xmp.XmpPacketWrapper value) {#setXmpData-com.aspose.cad.xmp.XmpPacketWrapper}
```java
public void setXmpData(com.aspose.cad.xmp.XmpPacketWrapper value)
```

Get or set XMP data container

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | com.aspose.cad.xmp.XmpPacketWrapper | The XMP data container. |

### getVersion() {#getVersion}
```java
public int getVersion()
```

Gets or sets the psd file version.

**Returns:** int - The psd file version.

### setVersion(int value) {#setVersion-int}
```java
public void setVersion(int value)
```

Gets or sets the psd file version.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | int | The psd file version. |

### getCompressionMethod() {#getCompressionMethod}
```java
public short getCompressionMethod()
```

Gets or sets the psd compression method.

**Returns:** short - The compression method.

### setCompressionMethod(short value) {#setCompressionMethod-short}
```java
public void setCompressionMethod(short value)
```

Gets or sets the psd compression method.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | short | The compression method. |

### getColorMode() {#getColorMode}
```java
public short getColorMode()
```

Gets or sets the psd color mode.

**Returns:** short - The color mode.

### setColorMode(short value) {#setColorMode-short}
```java
public void setColorMode(short value)
```

Gets or sets the psd color mode.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | short | The color mode. |

### getChannelBitsCount() {#getChannelBitsCount}
```java
public short getChannelBitsCount()
```

Gets or sets the bits count per color channel.

**Returns:** short - The bits count per color channel.

### setChannelBitsCount(short value) {#setChannelBitsCount-short}
```java
public void setChannelBitsCount(short value)
```

Gets or sets the bits count per color channel.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | short | The bits count per color channel. |

### getChannelsCount() {#getChannelsCount}
```java
public short getChannelsCount()
```

Gets or sets the color channels count.

**Returns:** short - The color channels count.

### setChannelsCount(short value) {#setChannelsCount-short}
```java
public void setChannelsCount(short value)
```

Gets or sets the color channels count.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | short | The color channels count. |

