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)
          
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()
           Indicates whether whether this picture SHOULD be displayed in two-color black and white.
booleanisGray()
           Indicates whether this picture SHOULD be displayed in grayscale.
doublegetLeftCrop()
voidsetLeftCrop(double value)
          
doublegetRightCrop()
voidsetRightCrop(double value)
          
doublegetTopCrop()
voidsetTopCrop(double value)
          
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)

getBottomCrop/setBottomCrop

public double getBottomCrop() / public void setBottomCrop(double value)

getLeftCrop/setLeftCrop

public double getLeftCrop() / public void setLeftCrop(double value)

getRightCrop/setRightCrop

public double getRightCrop() / public void setRightCrop(double value)

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

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

isGray

public boolean isGray()
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.