MsoFormatPicture
Inheritance: java.lang.Object
public class MsoFormatPicture
Represents the picture format.
Methods
| Method | Description |
|---|---|
| equals(Object obj) | |
| 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. |
| getClass() | |
| getContrast() | Represents the contrast modification for the picture.in unit of percentage. |
| 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 the transparent color of the picture. |
| hashCode() | Gets the hash code. |
| isBiLevel() | Indicates whether this picture should display in two-color black and white. |
| isGray() | Indicates whether this picture should display in grayscale. |
| notify() | |
| notifyAll() | |
| setBiLevel(boolean value) | Indicates whether this picture should display in two-color black and white. |
| setBottomCrop(double value) | Represents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image’s height. |
| setBottomCropInch(double value) | Represents the location of the bottom of the crop rectangle expressed, in unit of inches. |
| setBrightness(double value) | Represents the brightness modification for the picture in unit of percentage. |
| setContrast(double value) | Represents the contrast modification for the picture.in unit of percentage. |
| setGamma(double value) | Represents gamma of the picture. |
| setGray(boolean value) | Indicates whether this picture should display in grayscale. |
| setLeftCrop(double value) | Represents the location of the left of the crop rectangle expressed, expressed as a ratio of the image’s width. |
| setLeftCropInch(double value) | Represents the location of the left of the crop rectangle expressed, in unit of inches. |
| setRightCrop(double value) | Represents the location of the right of the crop rectangle expressed, expressed as a ratio of the image’s width. |
| setRightCropInch(double value) | Represents the location of the right of the crop rectangle expressed, in unit of inches. |
| setTopCrop(double value) | Represents the location of the top of the crop rectangle expressed, expressed as a ratio of the image’s height. |
| setTopCropInch(double value) | Represents the location of the top of the crop rectangle expressed, in unit of inches. |
| setTransparency(double value) | Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear). |
| setTransparentColor(CellsColor value) | Sets the transparent color of the picture. |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
equals(Object obj)
public boolean equals(Object obj)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| obj | java.lang.Object |
Returns: boolean -
getBottomCrop()
public double getBottomCrop()
Represents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image’s height.
Returns: double
getBottomCropInch()
public double getBottomCropInch()
Represents the location of the bottom of the crop rectangle expressed, in unit of inches.
Returns: double
getBrightness()
public double getBrightness()
Represents the brightness modification for the picture in unit of percentage.
Remarks
It is between -100% and 100%. It works same as Excel 2007 or above version.
Returns: double
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getContrast()
public double getContrast()
Represents the contrast modification for the picture.in unit of percentage.
Remarks
It is between -100% and 100%. It works same as Excel 2007 or above version.
Returns: double
getGamma()
public double getGamma()
Represents gamma of the picture.
Returns: double
getLeftCrop()
public double getLeftCrop()
Represents the location of the left of the crop rectangle expressed, expressed as a ratio of the image’s width.
Returns: double
getLeftCropInch()
public double getLeftCropInch()
Represents the location of the left of the crop rectangle expressed, in unit of inches.
Returns: double
getRightCrop()
public double getRightCrop()
Represents the location of the right of the crop rectangle expressed, expressed as a ratio of the image’s width.
Returns: double
getRightCropInch()
public double getRightCropInch()
Represents the location of the right of the crop rectangle expressed, in unit of inches.
Returns: double
getTopCrop()
public double getTopCrop()
Represents the location of the top of the crop rectangle expressed, expressed as a ratio of the image’s height.
Returns: double
getTopCropInch()
public double getTopCropInch()
Represents the location of the top of the crop rectangle expressed, in unit of inches.
Returns: double
getTransparency()
public double getTransparency()
Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).
Returns: double
getTransparentColor()
public CellsColor getTransparentColor()
Gets the transparent color of the picture.
Returns: CellsColor
hashCode()
public int hashCode()
Gets the hash code.
Returns: int -
isBiLevel()
public boolean isBiLevel()
Indicates whether this picture should display in two-color black and white.
Returns: boolean
isGray()
public boolean isGray()
Indicates whether this picture should display in grayscale.
Returns: boolean
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setBiLevel(boolean value)
public void setBiLevel(boolean value)
Indicates whether this picture should display in two-color black and white.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
setBottomCrop(double value)
public void setBottomCrop(double value)
Represents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image’s height.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double |
setBottomCropInch(double value)
public void setBottomCropInch(double value)
Represents the location of the bottom of the crop rectangle expressed, in unit of inches.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double |
setBrightness(double value)
public void setBrightness(double value)
Represents the brightness modification for the picture in unit of percentage.
Remarks
It is between -100% and 100%. It works same as Excel 2007 or above version.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double |
setContrast(double value)
public void setContrast(double value)
Represents the contrast modification for the picture.in unit of percentage.
Remarks
It is between -100% and 100%. It works same as Excel 2007 or above version.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double |
setGamma(double value)
public void setGamma(double value)
Represents gamma of the picture.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double |
setGray(boolean value)
public void setGray(boolean value)
Indicates whether this picture should display in grayscale.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
setLeftCrop(double value)
public void setLeftCrop(double value)
Represents the location of the left of the crop rectangle expressed, expressed as a ratio of the image’s width.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double |
setLeftCropInch(double value)
public void setLeftCropInch(double value)
Represents the location of the left of the crop rectangle expressed, in unit of inches.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double |
setRightCrop(double value)
public void setRightCrop(double value)
Represents the location of the right of the crop rectangle expressed, expressed as a ratio of the image’s width.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double |
setRightCropInch(double value)
public void setRightCropInch(double value)
Represents the location of the right of the crop rectangle expressed, in unit of inches.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double |
setTopCrop(double value)
public void setTopCrop(double value)
Represents the location of the top of the crop rectangle expressed, expressed as a ratio of the image’s height.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double |
setTopCropInch(double value)
public void setTopCropInch(double value)
Represents the location of the top of the crop rectangle expressed, in unit of inches.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double |
setTransparency(double value)
public void setTransparency(double value)
Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double |
setTransparentColor(CellsColor value)
public void setTransparentColor(CellsColor value)
Sets the transparent color of the picture.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | CellsColor |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |