MsoFormatPicture
Source: aspose.
Represents the picture format.
Methods
Methods
equals(obj) → boolean
Parameter
Name | Type | Optional | Description |
---|---|---|---|
obj |
Object |
|
- Returns
-
boolean
getBottomCrop()
Represents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image's height.
getBottomCropInch()
Represents the location of the bottom of the crop rectangle expressed, in unit of inches.
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()
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()
Represents gamma of the picture.
getLeftCrop()
Represents the location of the left of the crop rectangle expressed, expressed as a ratio of the image's width.
getLeftCropInch()
Represents the location of the left of the crop rectangle expressed, in unit of inches.
getRightCrop()
Represents the location of the right of the crop rectangle expressed, expressed as a ratio of the image's width.
getRightCropInch()
Represents the location of the right of the crop rectangle expressed, in unit of inches.
getTopCrop()
Represents the location of the top of the crop rectangle expressed, expressed as a ratio of the image's height.
getTopCropInch()
Represents the location of the top of the crop rectangle expressed, in unit of inches.
getTransparency()
Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).
getTransparentColor()
Gets and sets the transparent color of the picture.
hashCode() → Number
Gets the hash code.
- Returns
-
Number
isBiLevel()
Indicates whether this picture should display in two-color black and white.
isGray()
Indicates whether this picture should display in grayscale.
setBiLevel()
Indicates whether this picture should display in two-color black and white.
setBottomCrop()
Represents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image's height.
setBottomCropInch()
Represents the location of the bottom of the crop rectangle expressed, in unit of inches.
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()
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()
Represents gamma of the picture.
setGray()
Indicates whether this picture should display in grayscale.
setLeftCrop()
Represents the location of the left of the crop rectangle expressed, expressed as a ratio of the image's width.
setLeftCropInch()
Represents the location of the left of the crop rectangle expressed, in unit of inches.
setRightCrop()
Represents the location of the right of the crop rectangle expressed, expressed as a ratio of the image's width.
setRightCropInch()
Represents the location of the right of the crop rectangle expressed, in unit of inches.
setTopCrop()
Represents the location of the top of the crop rectangle expressed, expressed as a ratio of the image's height.
setTopCropInch()
Represents the location of the top of the crop rectangle expressed, in unit of inches.
setTransparency()
Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).
setTransparentColor()
Gets and sets the transparent color of the picture.