FillFormat Class

Encapsulates the object that represents fill formatting for a shape.
Inheritance Hierarchy

Namespace:  Aspose.Cells.Drawing
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.9.0.0 (20.9)
Syntax
public class FillFormat

The FillFormat type exposes the following members.

Properties
  NameDescription
Public propertyFillType
Gets and sets fill type
Public propertyGradientColor1
Returns the gradient color 1 for the the specified fill.
Public propertyGradientColor2
Returns the gradient color 2 for the the specified fill.
Public propertyGradientColorType
Returns the gradient color type for the specified fill.
Public propertyGradientDegree
Returns the gradient degree for the the specified fill. Only applies for Excel 2007.
Public propertyGradientFill
Gets GradientFill object.
Public propertyGradientStyle
Returns the gradient style for the specified fill.
Public propertyGradientVariant
Returns the gradient variant for the the specified fill. Only applies for Excel 2007.
Public propertyImageData
Gets and sets the picture image data.
Public propertyPattern
Represents an area's display pattern.
Public propertyPatternFill
Gets PatternFill object.
Public propertyPictureFormatType
Gets and sets the picture format type.
Public propertyPresetColor
Returns the gradient preset color for the the specified fill.
Public propertyScale
Gets and sets the picture format scale.
Public propertySetType Obsolete.
Gets the fill format set type.
Public propertySolidFill
Gets SolidFill object.
Public propertyTexture
Represents the texture type for the specified fill.
Public propertyTextureFill
Gets TextureFill object.
Public propertyTransparency
Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).
Public propertyType Obsolete.
Gets and sets the fill type.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSetOneColorGradient
Sets the specified fill to a one-color gradient. Only applies for Excel 2007.
Public methodSetPresetColorGradient
Sets the specified fill to a preset-color gradient. Only applies for Excel 2007.
Public methodSetTwoColorGradient(Color, Color, GradientStyleType, Int32)
Sets the specified fill to a two-color gradient. Only applies for Excel 2007.
Public methodSetTwoColorGradient(Color, Double, Color, Double, GradientStyleType, Int32)
Sets the specified fill to a two-color gradient. Only applies for Excel 2007.
Public methodToString (Inherited from Object.)
Examples
[C#]

//Filling the area of the 2nd NSeries with a gradient
chart.NSeries[1].Area.FillFormat.SetOneColorGradient(Color.Lime, 1, GradientStyleType.Horizontal, 1);

[Visual Basic]

'Filling the area of the 2nd NSeries with a gradient
chart.NSeries(1).Area.FillFormat.SetOneColorGradient(Color.Lime, 1, GradientStyleType.Horizontal, 1)
See Also