MsoFormatPicture
MsoFormatPicture class
Represents the picture format.
class MsoFormatPicture;
Properties
Property | Type | Description |
---|---|---|
topCropInch | number | Represents the location of the top of the crop rectangle expressed, in unit of inches. |
bottomCropInch | number | Represents the location of the bottom of the crop rectangle expressed, in unit of inches. |
leftCropInch | number | Represents the location of the left of the crop rectangle expressed, in unit of inches. |
rightCropInch | number | Represents the location of the right of the crop rectangle expressed, in unit of inches. |
topCrop | number | Represents the location of the top of the crop rectangle expressed, expressed as a ratio of the image’s height. |
bottomCrop | number | Represents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image’s height. |
leftCrop | number | Represents the location of the left of the crop rectangle expressed, expressed as a ratio of the image’s width. |
rightCrop | number | Represents the location of the right of the crop rectangle expressed, expressed as a ratio of the image’s width. |
transparency | number | 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 | number | Represents the contrast modification for the picture.in unit of percentage. |
brightness | number | Represents the brightness modification for the picture in unit of percentage. |
gamma | number | 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
Method | Description |
---|---|
getHashCode() | Gets the hash code. |
equals(VObject) |
topCropInch
Represents the location of the top of the crop rectangle expressed, in unit of inches.
topCropInch : number;
bottomCropInch
Represents the location of the bottom of the crop rectangle expressed, in unit of inches.
bottomCropInch : number;
leftCropInch
Represents the location of the left of the crop rectangle expressed, in unit of inches.
leftCropInch : number;
rightCropInch
Represents the location of the right of the crop rectangle expressed, in unit of inches.
rightCropInch : number;
topCrop
Represents the location of the top of the crop rectangle expressed, expressed as a ratio of the image’s height.
topCrop : number;
bottomCrop
Represents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image’s height.
bottomCrop : number;
leftCrop
Represents the location of the left of the crop rectangle expressed, expressed as a ratio of the image’s width.
leftCrop : number;
rightCrop
Represents the location of the right of the crop rectangle expressed, expressed as a ratio of the image’s width.
rightCrop : number;
transparency
Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).
transparency : number;
transparentColor
Gets and sets the transparent color of the picture.
transparentColor : CellsColor;
contrast
Represents the contrast modification for the picture.in unit of percentage.
contrast : number;
Remarks
It is between -100% and 100%. It works same as Excel 2007 or above version.
brightness
Represents the brightness modification for the picture in unit of percentage.
brightness : number;
Remarks
It is between -100% and 100%. It works same as Excel 2007 or above version.
gamma
Represents gamma of the picture.
gamma : number;
isBiLevel
Indicates whether this picture should display in two-color black and white.
isBiLevel : boolean;
isGray
Indicates whether this picture should display in grayscale.
isGray : boolean;
getHashCode()
Gets the hash code.
getHashCode() : number;
equals(VObject)
equals(obj: VObject) : boolean;
Parameters:
Parameter | Type | Description |
---|---|---|
obj | VObject |