asposecells.api
Class MsoFillFormat

Represents fill formatting for a shape.

Property Getters/Setters Summary
methodgetBackColor()
methodsetBackColor(value)
           Gets and sets the file back color.
methodgetForeColor()
methodsetForeColor(value)
           Gets and sets the fill fore color.
methodgetImageData()
methodsetImageData(value)
           Gets and sets the Texture and Picture fill data.
methodisVisible()
methodsetVisible(value)
           Indicats whether there is fill.
methodgetTexture()
           Gets the texture fill type. The value of the property is TextureType integer constant.
methodgetTransparency()
methodsetTransparency(value)
           Returns or sets the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear).
 
Method Summary
methodsetOneColorGradient(color, degree, style, variant)
           Sets the specified fill to a one-color gradient.
 

Property Getters/Setters Detail

getForeColor/setForeColor : Color 

Color getForeColor() / setForeColor(value)
Gets and sets the fill fore color.

getTransparency/setTransparency : float 

float getTransparency() / setTransparency(value)
Returns or sets the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear).

getBackColor/setBackColor : Color 

Color getBackColor() / setBackColor(value)
Gets and sets the file back color.

getImageData/setImageData : byte[] 

byte[] getImageData() / setImageData(value)
Gets and sets the Texture and Picture fill data.

getTexture : int 

int getTexture()
Gets the texture fill type. The value of the property is TextureType integer constant.

isVisible/setVisible : boolean 

boolean isVisible() / setVisible(value)
Indicats whether there is fill.

Method Detail

setOneColorGradient

 setOneColorGradient(color, degree, style, variant)
Sets the specified fill to a one-color gradient.
Parameters:
color: Color - One gradient color.
degree: float - The gradient degree. Can be a value from 0.0 (dark) through 1.0 (light).
style: int - A GradientStyleType value. Gradient shading style.
variant: int - The gradient variant. Can be a value from 1 through 4, corresponding to one of the four variants on the Gradient tab in the Fill Effects dialog box. If style is GradientStyle.FromCenter, the Variant argument can only be 1 or 2.

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