com.aspose.cells
Class MsoFormatPicture

java.lang.Object
    extended by com.aspose.cells.MsoFormatPicture

public class MsoFormatPicture 
extends java.lang.Object

Reprensents the picture format.

Property Getters/Setters Summary
doublegetBottomCrop()
voidsetBottomCrop(double value)
           Reprensents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image's height.
doublegetBrightness()
voidsetBrightness(double value)
           Represents the brightness modification for the picture in unit of percentage.
doublegetContrast()
voidsetContrast(double value)
           Represents the contrast modification for the picture.in unit of percentage.
booleanisBiLevel()
voidsetBiLevel(boolean value)
           Indicates whether whether this picture SHOULD be displayed in two-color black and white.
booleanisGray()
voidsetGray(boolean value)
           Indicates whether this picture SHOULD be displayed in grayscale.
doublegetLeftCrop()
voidsetLeftCrop(double value)
           Reprensents the location of the left of the crop rectangle expressed, expressed as a ratio of the image's width.
doublegetRightCrop()
voidsetRightCrop(double value)
           Reprensents the location of the right of the crop rectangle expressed, expressed as a ratio of the image's width.
doublegetTopCrop()
voidsetTopCrop(double value)
           Reprensents the location of the top of the crop rectangle expressed, expressed as a ratio of the image's height.
CellsColorgetTransparentColor()
voidsetTransparentColor(CellsColor value)
           Gets and sets the transparent color of the picture.
 

Property Getters/Setters Detail

getTopCrop/setTopCrop

public double getTopCrop() / public void setTopCrop(double value)
Reprensents the location of the top of the crop rectangle expressed, expressed as a ratio of the image's height.

getBottomCrop/setBottomCrop

public double getBottomCrop() / public void setBottomCrop(double value)
Reprensents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image's height.

getLeftCrop/setLeftCrop

public double getLeftCrop() / public void setLeftCrop(double value)
Reprensents the location of the left of the crop rectangle expressed, expressed as a ratio of the image's width.

getRightCrop/setRightCrop

public double getRightCrop() / public void setRightCrop(double value)
Reprensents the location of the right of the crop rectangle expressed, expressed as a ratio of the image's width.

getTransparentColor/setTransparentColor

public CellsColor getTransparentColor() / public void setTransparentColor(CellsColor value)
Gets and sets the transparent color of the picture.

getContrast/setContrast

public double getContrast() / public void setContrast(double value)
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.

getBrightness/setBrightness

public double getBrightness() / public void setBrightness(double value)
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.

isBiLevel/setBiLevel

public boolean isBiLevel() / public void setBiLevel(boolean value)
Indicates whether whether this picture SHOULD be displayed in two-color black and white.

isGray/setGray

public boolean isGray() / public void setGray(boolean value)
Indicates whether this picture SHOULD be displayed in grayscale.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.