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

The Jpeg2000 file format options.

## Constructors

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

## Methods

| Method | Description |
| --- | --- |
| [getTargetFormat()](#getTargetFormat) |  |
| [getComments()](#getComments) | Gets or sets the Jpeg comment markers. |
| [setComments(String[] value)](#setComments-java.lang.String:A) | Gets or sets the Jpeg comment markers. |
| [getCodec()](#getCodec) | Gets or sets the JPEG2000 codec |
| [setCodec(int value)](#setCodec-int) | Gets or sets the JPEG2000 codec |

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

Initializes a new instance of the Jpeg2000Options class.

### Jpeg2000Options(Jpeg2000Options jpeg2000Options) {#Jpeg2000Options-com.aspose.cad.imageoptions.Jpeg2000Options}
```java
public Jpeg2000Options(Jpeg2000Options jpeg2000Options)
```

Initializes a new instance of the Jpeg2000Options class.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| jpeg2000Options | Jpeg2000Options | The Jpeg2000 file format options to copy settings from. |

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

**Returns:** long

### getComments() {#getComments}
```java
public String[] getComments()
```

Gets or sets the Jpeg comment markers.

**Returns:** String[] - The Jpeg comment markers.

### setComments(String[] value) {#setComments-java.lang.String:A}
```java
public void setComments(String[] value)
```

Gets or sets the Jpeg comment markers.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | String[] | The Jpeg comment markers. |

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

Gets or sets the JPEG2000 codec

**Returns:** int - The JPEG2000 codec

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

Gets or sets the JPEG2000 codec

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | int | The JPEG2000 codec |

