MsoFormatPicture
MsoFormatPicture class
Represents the picture format.
Properties
| Name | Type | Description |
|---|---|---|
| TopCropInch | float | Represents the location of the top of the crop rectangle expressed, in unit of inches. |
| BottomCropInch | float | Represents the location of the bottom of the crop rectangle expressed, in unit of inches. |
| LeftCropInch | float | Represents the location of the left of the crop rectangle expressed, in unit of inches. |
| RightCropInch | float | Represents the location of the right of the crop rectangle expressed, in unit of inches. |
| TopCrop | float | Represents the location of the top of the crop rectangle expressed, expressed as a ratio of the image’s height. |
| BottomCrop | float | Represents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image’s height. |
| LeftCrop | float | Represents the location of the left of the crop rectangle expressed, expressed as a ratio of the image’s width. |
| RightCrop | float | Represents the location of the right of the crop rectangle expressed, expressed as a ratio of the image’s width. |
| Transparency | float | Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear). |
| TransparentColor | CellsColor | Gets and sets the transparent color of the picture. |
| Contrast | float | Represents the contrast modification for the picture.in unit of percentage. It is between -100% and 100%. It works same |
| Brightness | float | Represents the brightness modification for the picture in unit of percentage. It is between -100% and 100%. It works sam |
| Gamma | float | Represents gamma of the picture. |
| IsBiLevel | boolean | Indicates whether this picture should display in two-color black and white. |
| IsGray | boolean | Indicates whether this picture should display in grayscale. |
Methods
| Name | Description |
|---|---|
| hashCode | Gets the hash code. |
| equals |
MsoFormatPicture.TopCropInch property
Represents the location of the top of the crop rectangle expressed, in unit of inches.
Type: float
MsoFormatPicture.BottomCropInch property
Represents the location of the bottom of the crop rectangle expressed, in unit of inches.
Type: float
MsoFormatPicture.LeftCropInch property
Represents the location of the left of the crop rectangle expressed, in unit of inches.
Type: float
MsoFormatPicture.RightCropInch property
Represents the location of the right of the crop rectangle expressed, in unit of inches.
Type: float
MsoFormatPicture.TopCrop property
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
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
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
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
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
Gets and sets the transparent color of the picture.
Type: CellsColor
MsoFormatPicture.Contrast property
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
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
Represents gamma of the picture.
Type: float
MsoFormatPicture.IsBiLevel property
Indicates whether this picture should display in two-color black and white.
Type: boolean
MsoFormatPicture.IsGray property
Indicates whether this picture should display in grayscale.
Type: boolean
hashCode()
Gets the hash code.
equals(obj)
| Parameter | Type | Description |
|---|---|---|
| obj | Object |