com.aspose.cells

Class MsoFormatPicture

  • java.lang.Object
    • com.aspose.cells.MsoFormatPicture
public class MsoFormatPicture 
extends java.lang.Object

Reprensents the picture format.

Property Getters/Setters Summary
doublegetBottomCrop()
void
setBottomCrop(doublevalue)
           Reprensents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image's height.
doublegetBrightness()
void
setBrightness(doublevalue)
           Represents the brightness modification for the picture in unit of percentage.
doublegetContrast()
void
setContrast(doublevalue)
           Represents the contrast modification for the picture.in unit of percentage.
doublegetGamma()
void
setGamma(doublevalue)
           Represents gamma of the picture.
booleanisBiLevel()
void
setBiLevel(booleanvalue)
           Indicates whether whether this picture SHOULD be displayed in two-color black and white.
booleanisGray()
void
setGray(booleanvalue)
           Indicates whether this picture SHOULD be displayed in grayscale.
doublegetLeftCrop()
void
setLeftCrop(doublevalue)
           Reprensents the location of the left of the crop rectangle expressed, expressed as a ratio of the image's width.
doublegetRightCrop()
void
setRightCrop(doublevalue)
           Reprensents the location of the right of the crop rectangle expressed, expressed as a ratio of the image's width.
doublegetTopCrop()
void
setTopCrop(doublevalue)
           Reprensents the location of the top of the crop rectangle expressed, expressed as a ratio of the image's height.
CellsColorgetTransparentColor()
void
           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.
      • getGamma/setGamma

        public double getGamma() / public void setGamma(double value)
        
        Represents gamma of the picture.
      • 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.

    setTopCrop

    public voidsetTopCrop(doublevalue)
    
    Reprensents the location of the top of the crop rectangle expressed, expressed as a ratio of the image's height.

    setBottomCrop

    public voidsetBottomCrop(doublevalue)
    
    Reprensents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image's height.

    setLeftCrop

    public voidsetLeftCrop(doublevalue)
    
    Reprensents the location of the left of the crop rectangle expressed, expressed as a ratio of the image's width.

    setRightCrop

    public voidsetRightCrop(doublevalue)
    
    Reprensents the location of the right of the crop rectangle expressed, expressed as a ratio of the image's width.

    setTransparentColor

    public voidsetTransparentColor(CellsColor value)
    
    Gets and sets the transparent color of the picture.

    setContrast

    public voidsetContrast(doublevalue)
    
    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.

    setBrightness

    public voidsetBrightness(doublevalue)
    
    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.

    setGamma

    public voidsetGamma(doublevalue)
    
    Represents gamma of the picture.

    setBiLevel

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

    setGray

    public voidsetGray(booleanvalue)
    
    Indicates whether this picture SHOULD be displayed in grayscale.