aspose.cells

Class MsoFormatPicture

Represents the picture format.

Property Getters/Setters Summary
functiongetBottomCrop()
function
           Represents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image's height.
functiongetBottomCropInch()
function
           Represents the location of the bottom of the crop rectangle expressed, in unit of inches.
functiongetBrightness()
function
           Represents the brightness modification for the picture in unit of percentage.
functiongetContrast()
function
           Represents the contrast modification for the picture.in unit of percentage.
functiongetGamma()
function
setGamma(value)
           Represents gamma of the picture.
functionisBiLevel()
function
setBiLevel(value)
           Indicates whether this picture should display in two-color black and white.
functionisGray()
function
setGray(value)
           Indicates whether this picture should display in grayscale.
functiongetLeftCrop()
function
           Represents the location of the left of the crop rectangle expressed, expressed as a ratio of the image's width.
functiongetLeftCropInch()
function
           Represents the location of the left of the crop rectangle expressed, in unit of inches.
functiongetRightCrop()
function
           Represents the location of the right of the crop rectangle expressed, expressed as a ratio of the image's width.
functiongetRightCropInch()
function
           Represents the location of the right of the crop rectangle expressed, in unit of inches.
functiongetTopCrop()
function
setTopCrop(value)
           Represents the location of the top of the crop rectangle expressed, expressed as a ratio of the image's height.
functiongetTopCropInch()
function
           Represents the location of the top of the crop rectangle expressed, in unit of inches.
functiongetTransparency()
function
           Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).
functiongetTransparentColor()
function
           Gets and sets the transparent color of the picture.
 
Method Summary
functionequals(obj)
functionhashCode()
Gets the hash code.
 

    • Property Getters/Setters Detail

      • getTopCropInch/setTopCropInch : Number 

        function getTopCropInch() / function setTopCropInch(value)
        
        Represents the location of the top of the crop rectangle expressed, in unit of inches.
      • getBottomCropInch/setBottomCropInch : Number 

        function getBottomCropInch() / function setBottomCropInch(value)
        
        Represents the location of the bottom of the crop rectangle expressed, in unit of inches.
      • getLeftCropInch/setLeftCropInch : Number 

        function getLeftCropInch() / function setLeftCropInch(value)
        
        Represents the location of the left of the crop rectangle expressed, in unit of inches.
      • getRightCropInch/setRightCropInch : Number 

        function getRightCropInch() / function setRightCropInch(value)
        
        Represents the location of the right of the crop rectangle expressed, in unit of inches.
      • getTopCrop/setTopCrop : Number 

        function getTopCrop() / function setTopCrop(value)
        
        Represents the location of the top of the crop rectangle expressed, expressed as a ratio of the image's height.
      • getBottomCrop/setBottomCrop : Number 

        function getBottomCrop() / function setBottomCrop(value)
        
        Represents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image's height.
      • getLeftCrop/setLeftCrop : Number 

        function getLeftCrop() / function setLeftCrop(value)
        
        Represents the location of the left of the crop rectangle expressed, expressed as a ratio of the image's width.
      • getRightCrop/setRightCrop : Number 

        function getRightCrop() / function setRightCrop(value)
        
        Represents the location of the right of the crop rectangle expressed, expressed as a ratio of the image's width.
      • getTransparency/setTransparency : Number 

        function getTransparency() / function setTransparency(value)
        
        Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).
      • getTransparentColor/setTransparentColor : CellsColor 

        function getTransparentColor() / function setTransparentColor(value)
        
        Gets and sets the transparent color of the picture.
      • getContrast/setContrast : Number 

        function getContrast() / function setContrast(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 : Number 

        function getBrightness() / function setBrightness(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 : Number 

        function getGamma() / function setGamma(value)
        
        Represents gamma of the picture.
      • isBiLevel/setBiLevel : boolean 

        function isBiLevel() / function setBiLevel(value)
        
        Indicates whether this picture should display in two-color black and white.
      • isGray/setGray : boolean 

        function isGray() / function setGray(value)
        
        Indicates whether this picture should display in grayscale.
    • Method Detail

      • hashCode

        function hashCode()
        Gets the hash code.
        Returns:
      • equals

        function equals(obj)
        Parameters:
        obj: Object -
        Returns: