MsoFormatPicture

MsoFormatPicture class

Represents the picture format.

Properties

NameTypeDescription
TopCropInchNumberRepresents the location of the top of the crop rectangle expressed, in unit of inches.
BottomCropInchNumberRepresents the location of the bottom of the crop rectangle expressed, in unit of inches.
LeftCropInchNumberRepresents the location of the left of the crop rectangle expressed, in unit of inches.
RightCropInchNumberRepresents the location of the right of the crop rectangle expressed, in unit of inches.
TopCropNumberRepresents the location of the top of the crop rectangle expressed, expressed as a ratio of the image’s height.
BottomCropNumberRepresents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image’s height.
LeftCropNumberRepresents the location of the left of the crop rectangle expressed, expressed as a ratio of the image’s width.
RightCropNumberRepresents the location of the right of the crop rectangle expressed, expressed as a ratio of the image’s width.
TransparencyNumberReturns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).
TransparentColorCellsColorGets and sets the transparent color of the picture.
ContrastNumberRepresents the contrast modification for the picture.in unit of percentage. It is between -100% and 100%. It works same
BrightnessNumberRepresents the brightness modification for the picture in unit of percentage. It is between -100% and 100%. It works sam
GammaNumberRepresents gamma of the picture.
IsBiLevelbooleanIndicates whether this picture should display in two-color black and white.
IsGraybooleanIndicates whether this picture should display in grayscale.

Methods

NameDescription
hashCodeGets the hash code.
equals

MsoFormatPicture.TopCropInch property

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

Type: Number

MsoFormatPicture.BottomCropInch property

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

Type: Number

MsoFormatPicture.LeftCropInch property

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

Type: Number

MsoFormatPicture.RightCropInch property

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

Type: Number

MsoFormatPicture.TopCrop property

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

Type: Number

MsoFormatPicture.BottomCrop property

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

Type: Number

MsoFormatPicture.LeftCrop property

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

Type: Number

MsoFormatPicture.RightCrop property

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

Type: Number

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: Number

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: Number

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: Number

MsoFormatPicture.Gamma property

Represents gamma of the picture.

Type: Number

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)

ParameterTypeDescription
objObject