MsoFormatPicture

MsoFormatPicture class

Represents the picture format.

Properties

NameTypeDescription
TopCropInchfloatRepresents the location of the top of the crop rectangle expressed, in unit of inches.
BottomCropInchfloatRepresents the location of the bottom of the crop rectangle expressed, in unit of inches.
LeftCropInchfloatRepresents the location of the left of the crop rectangle expressed, in unit of inches.
RightCropInchfloatRepresents the location of the right of the crop rectangle expressed, in unit of inches.
TopCropfloatRepresents the location of the top of the crop rectangle expressed, expressed as a ratio of the image’s height.
BottomCropfloatRepresents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image’s height.
LeftCropfloatRepresents the location of the left of the crop rectangle expressed, expressed as a ratio of the image’s width.
RightCropfloatRepresents the location of the right of the crop rectangle expressed, expressed as a ratio of the image’s width.
TransparencyfloatReturns 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.
ContrastfloatRepresents the contrast modification for the picture.in unit of percentage. It is between -100% and 100%. It works same
BrightnessfloatRepresents the brightness modification for the picture in unit of percentage. It is between -100% and 100%. It works sam
GammafloatRepresents 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: 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)

ParameterTypeDescription
objObject