
## MsoFormatPicture class

Represents the picture format.

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [TopCropInch](#topcropinch) | float | Represents the location of the top of the crop rectangle expressed, in unit of inches. |
| [BottomCropInch](#bottomcropinch) | float | Represents the location of the bottom of the crop rectangle expressed, in unit of inches. |
| [LeftCropInch](#leftcropinch) | float | Represents the location of the left of the crop rectangle expressed, in unit of inches. |
| [RightCropInch](#rightcropinch) | float | Represents the location of the right of the crop rectangle expressed, in unit of inches. |
| [TopCrop](#topcrop) | float | Represents the location of the top of the crop rectangle expressed, expressed as a ratio of the image's height. |
| [BottomCrop](#bottomcrop) | float | Represents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image's height. |
| [LeftCrop](#leftcrop) | float | Represents the location of the left of the crop rectangle expressed, expressed as a ratio of the image's width. |
| [RightCrop](#rightcrop) | float | Represents the location of the right of the crop rectangle expressed, expressed as a ratio of the image's width. |
| [Transparency](#transparency) | float | Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear). |
| [TransparentColor](#transparentcolor) | CellsColor | Gets and sets the transparent color of the picture. |
| [Contrast](#contrast) | float | Represents the contrast modification for the picture.in unit of percentage. It is between -100% and 100%. It works same  |
| [Brightness](#brightness) | float | Represents the brightness modification for the picture in unit of percentage. It is between -100% and 100%. It works sam |
| [Gamma](#gamma) | float | Represents gamma of the picture. |
| [IsBiLevel](#isbilevel) | boolean | Indicates whether this picture should display in two-color black and white. |
| [IsGray](#isgray) | boolean | Indicates whether this picture should display in grayscale. |

## Methods

| Name | Description |
| --- | --- |
| [hashCode](#hashcode) | Gets the hash code. |
| [equals](#equals) |  |

### MsoFormatPicture.TopCropInch property {#topcropinch}

Represents the location of the top of the crop rectangle expressed, in unit of inches.

**Type:** float

### MsoFormatPicture.BottomCropInch property {#bottomcropinch}

Represents the location of the bottom of the crop rectangle expressed, in unit of inches.

**Type:** float

### MsoFormatPicture.LeftCropInch property {#leftcropinch}

Represents the location of the left of the crop rectangle expressed, in unit of inches.

**Type:** float

### MsoFormatPicture.RightCropInch property {#rightcropinch}

Represents the location of the right of the crop rectangle expressed, in unit of inches.

**Type:** float

### MsoFormatPicture.TopCrop property {#topcrop}

Represents the location of the top of the crop rectangle expressed, expressed as a ratio of the image's height.

**Type:** float

### MsoFormatPicture.BottomCrop property {#bottomcrop}

Represents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image's height.

**Type:** float

### MsoFormatPicture.LeftCrop property {#leftcrop}

Represents the location of the left of the crop rectangle expressed, expressed as a ratio of the image's width.

**Type:** float

### MsoFormatPicture.RightCrop property {#rightcrop}

Represents the location of the right of the crop rectangle expressed, expressed as a ratio of the image's width.

**Type:** float

### MsoFormatPicture.Transparency property {#transparency}

Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).

**Type:** float

### MsoFormatPicture.TransparentColor property {#transparentcolor}

Gets and sets the transparent color of the picture.

**Type:** CellsColor

### MsoFormatPicture.Contrast property {#contrast}

Represents the contrast modification for the picture.in unit of percentage. It is between -100% and 100%. It works same as Excel 2007 or above version.

**Type:** float

### MsoFormatPicture.Brightness property {#brightness}

Represents the brightness modification for the picture in unit of percentage. It is between -100% and 100%. It works same as Excel 2007 or above version.

**Type:** float

### MsoFormatPicture.Gamma property {#gamma}

Represents gamma of the picture.

**Type:** float

### MsoFormatPicture.IsBiLevel property {#isbilevel}

Indicates whether this picture should display in two-color black and white.

**Type:** boolean

### MsoFormatPicture.IsGray property {#isgray}

Indicates whether this picture should display in grayscale.

**Type:** boolean

### hashCode() {#hashcode}

Gets the hash code.

### equals(obj) {#equals}

| Parameter | Type | Description |
| --- | --- | --- |
| obj | Object |  |
