
## MsoFormatPicture class

Represents the picture format.

## Methods

| Name | Description |
| --- | --- |
| [equals(obj)](#equals) |  |
| [getBottomCrop()](#getbottomcrop) | Represents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image's height. |
| [getBottomCropInch()](#getbottomcropinch) | Represents the location of the bottom of the crop rectangle expressed, in unit of inches. |
| [getBrightness()](#getbrightness) | Represents the brightness modification for the picture in unit of percentage. It is between -100% and 100%. It works sam |
| [getContrast()](#getcontrast) | Represents the contrast modification for the picture.in unit of percentage. It is between -100% and 100%. It works same  |
| [getGamma()](#getgamma) | Represents gamma of the picture. |
| [getLeftCrop()](#getleftcrop) | Represents the location of the left of the crop rectangle expressed, expressed as a ratio of the image's width. |
| [getLeftCropInch()](#getleftcropinch) | Represents the location of the left of the crop rectangle expressed, in unit of inches. |
| [getRightCrop()](#getrightcrop) | Represents the location of the right of the crop rectangle expressed, expressed as a ratio of the image's width. |
| [getRightCropInch()](#getrightcropinch) | Represents the location of the right of the crop rectangle expressed, in unit of inches. |
| [getTopCrop()](#gettopcrop) | Represents the location of the top of the crop rectangle expressed, expressed as a ratio of the image's height. |
| [getTopCropInch()](#gettopcropinch) | Represents the location of the top of the crop rectangle expressed, in unit of inches. |
| [getTransparency()](#gettransparency) | Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear). |
| [getTransparentColor()](#gettransparentcolor) | Gets and sets the transparent color of the picture. |
| [hashCode()](#hashcode) | Gets the hash code. |
| [isBiLevel()](#isbilevel) | Indicates whether this picture should display in two-color black and white. |
| [isGray()](#isgray) | Indicates whether this picture should display in grayscale. |
| [setBiLevel()](#setbilevel) | Indicates whether this picture should display in two-color black and white. |
| [setBottomCrop()](#setbottomcrop) | Represents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image's height. |
| [setBottomCropInch()](#setbottomcropinch) | Represents the location of the bottom of the crop rectangle expressed, in unit of inches. |
| [setBrightness()](#setbrightness) | Represents the brightness modification for the picture in unit of percentage. It is between -100% and 100%. It works sam |
| [setContrast()](#setcontrast) | Represents the contrast modification for the picture.in unit of percentage. It is between -100% and 100%. It works same  |
| [setGamma()](#setgamma) | Represents gamma of the picture. |
| [setGray()](#setgray) | Indicates whether this picture should display in grayscale. |
| [setLeftCrop()](#setleftcrop) | Represents the location of the left of the crop rectangle expressed, expressed as a ratio of the image's width. |
| [setLeftCropInch()](#setleftcropinch) | Represents the location of the left of the crop rectangle expressed, in unit of inches. |
| [setRightCrop()](#setrightcrop) | Represents the location of the right of the crop rectangle expressed, expressed as a ratio of the image's width. |
| [setRightCropInch()](#setrightcropinch) | Represents the location of the right of the crop rectangle expressed, in unit of inches. |
| [setTopCrop()](#settopcrop) | Represents the location of the top of the crop rectangle expressed, expressed as a ratio of the image's height. |
| [setTopCropInch()](#settopcropinch) | Represents the location of the top of the crop rectangle expressed, in unit of inches. |
| [setTransparency()](#settransparency) | Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear). |
| [setTransparentColor()](#settransparentcolor) | Gets and sets the transparent color of the picture. |

### equals(obj) {#equals}

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

**Returns:** boolean — `boolean`

### getBottomCrop() {#getbottomcrop}

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

### getBottomCropInch() {#getbottomcropinch}

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

### getBrightness() {#getbrightness}

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.

### getContrast() {#getcontrast}

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.

### getGamma() {#getgamma}

Represents gamma of the picture.

### getLeftCrop() {#getleftcrop}

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

### getLeftCropInch() {#getleftcropinch}

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

### getRightCrop() {#getrightcrop}

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

### getRightCropInch() {#getrightcropinch}

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

### getTopCrop() {#gettopcrop}

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

### getTopCropInch() {#gettopcropinch}

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

### getTransparency() {#gettransparency}

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

### getTransparentColor() {#gettransparentcolor}

Gets and sets the transparent color of the picture.

### hashCode() {#hashcode}

Gets the hash code.

**Returns:** Number — `Number`

### isBiLevel() {#isbilevel}

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

### isGray() {#isgray}

Indicates whether this picture should display in grayscale.

### setBiLevel() {#setbilevel}

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

### setBottomCrop() {#setbottomcrop}

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

### setBottomCropInch() {#setbottomcropinch}

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

### setBrightness() {#setbrightness}

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.

### setContrast() {#setcontrast}

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.

### setGamma() {#setgamma}

Represents gamma of the picture.

### setGray() {#setgray}

Indicates whether this picture should display in grayscale.

### setLeftCrop() {#setleftcrop}

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

### setLeftCropInch() {#setleftcropinch}

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

### setRightCrop() {#setrightcrop}

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

### setRightCropInch() {#setrightcropinch}

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

### setTopCrop() {#settopcrop}

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

### setTopCropInch() {#settopcropinch}

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

### setTransparency() {#settransparency}

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

### setTransparentColor() {#settransparentcolor}

Gets and sets the transparent color of the picture.
