All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aspose.cells.MsoFormatPicture.html Maven / Gradle / Ivy

There is a newer version: 23.1
Show newest version





MsoFormatPicture




com.aspose.cells
Class MsoFormatPicture

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

public class MsoFormatPicture 
extends java.lang.Object

Represents the picture format.


Property Getters/Setters Summary
doublegetBottomCrop()
voidsetBottomCrop(double)
           Represents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image's height.
doublegetBrightness()
voidsetBrightness(double)
           Represents the brightness modification for the picture in unit of percentage.
doublegetContrast()
voidsetContrast(double)
           Represents the contrast modification for the picture.in unit of percentage.
doublegetGamma()
voidsetGamma(double)
           Represents gamma of the picture.
booleanisBiLevel()
voidsetBiLevel(boolean)
           Indicates whether this picture should be displayed in two-color black and white.
booleanisGray()
voidsetGray(boolean)
           Indicates whether this picture SHOULD be displayed in grayscale.
doublegetLeftCrop()
voidsetLeftCrop(double)
           Represents the location of the left of the crop rectangle expressed, expressed as a ratio of the image's width.
doublegetRightCrop()
voidsetRightCrop(double)
           Represents the location of the right of the crop rectangle expressed, expressed as a ratio of the image's width.
doublegetTopCrop()
voidsetTopCrop(double)
           Represents the location of the top of the crop rectangle expressed, expressed as a ratio of the image's height.
doublegetTransparency()
voidsetTransparency(double)
           Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).
CellsColorgetTransparentColor()
voidsetTransparentColor(CellsColor)
           Gets and sets the transparent color of the picture.
 
Method Summary
booleanequals(java.lang.Object obj)
          
inthashCode()
           Gets the hash code.
 

Property Getters/Setters Detail

getTopCrop/setTopCrop

public double getTopCrop() / 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.

setTopCrop

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.

getBottomCrop/setBottomCrop

public double getBottomCrop() / 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.

setBottomCrop

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.

getLeftCrop/setLeftCrop

public double getLeftCrop() / 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.

setLeftCrop

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.

getRightCrop/setRightCrop

public double getRightCrop() / 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.

setRightCrop

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.

getTransparency/setTransparency

public double getTransparency() / 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).

setTransparency

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).

getTransparentColor/setTransparentColor

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

setTransparentColor

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.

setContrast

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.

setBrightness

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.

setGamma

public void setGamma(double value)
Represents gamma of the picture.

isBiLevel/setBiLevel

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

setBiLevel

public void setBiLevel(boolean value)
Indicates 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.

setGray

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

Method Detail

hashCode

public int hashCode()
Gets the hash code.
Returns:

equals

public boolean equals(java.lang.Object obj)
Parameters:
obj -
Returns:

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy