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

The bmp file format creation options.

## Constructors

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

## Methods

| Method | Description |
| --- | --- |
| [getTargetFormat()](#getTargetFormat) |  |
| [getBitsPerPixel()](#getBitsPerPixel) | Gets or sets the image bits per pixel count. |
| [setBitsPerPixel(int value)](#setBitsPerPixel-int) | Gets or sets the image bits per pixel count. |
| [getCompression()](#getCompression) | Gets or sets the compression. |
| [setCompression(long value)](#setCompression-long) | Gets or sets the compression. |
| [getHorizontalResolution()](#getHorizontalResolution) | Deprecated. |
| [setHorizontalResolution(double value)](#setHorizontalResolution-double) | Deprecated. |
| [getVerticalResolution()](#getVerticalResolution) | Deprecated. |
| [setVerticalResolution(double value)](#setVerticalResolution-double) | Deprecated. |

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

Initializes a new instance of the BmpOptions class.

### BmpOptions(BmpOptions bmpOptions) {#BmpOptions-com.aspose.cad.imageoptions.BmpOptions}
```java
public BmpOptions(BmpOptions bmpOptions)
```

Initializes a new instance of the BmpOptions class.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| bmpOptions | BmpOptions | The BMP options. |

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

**Returns:** long

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

Gets or sets the image bits per pixel count.

**Returns:** int - The image bits per pixel count.

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

Gets or sets the image bits per pixel count.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | int | The image bits per pixel count. |

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

Gets or sets the compression.

**Returns:** long - The compression.

### setCompression(long value) {#setCompression-long}
```java
public void setCompression(long value)
```

Gets or sets the compression.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | long | The compression. |

### getHorizontalResolution() {#getHorizontalResolution}
```java
@Deprecated public double getHorizontalResolution()
```

Deprecated.

**Returns:** double - The horizontal resolution.

### setHorizontalResolution(double value) {#setHorizontalResolution-double}
```java
@Deprecated public void setHorizontalResolution(double value)
```

Deprecated.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | double | The horizontal resolution. |

### getVerticalResolution() {#getVerticalResolution}
```java
@Deprecated public double getVerticalResolution()
```

Deprecated.

**Returns:** double - The vertical resolution.

### setVerticalResolution(double value) {#setVerticalResolution-double}
```java
@Deprecated public void setVerticalResolution(double value)
```

Deprecated.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | double | The vertical resolution. |

