Click or drag to resize

IShapeFill Interface

Defines methods and properties for filling a shape with color or pattern.

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public interface IShapeFill

The IShapeFill type exposes the following members.

Properties
Name Description
Public property BackColor
Represents background color.
Public property BackKnownColor
Represents background color index.
Public property FillType
Represents shape XlsFill type.
Public property ForeColor
Represents foreground color.
Public property ForeKnownColor
Represents foreground color index.
Public property GradientColorType
Represents gradient style.
Public property GradientDegree
Returns the gradient degree of the specified one-color shaded XlsFill as a floating-point value from 0.0 (dark) through 1.0 (light)
Public property GradientStyle
Represents gradient shading style.
Public property GradientVariant
Represents current shading variant.
Public property Pattern
Represents gradient pattern
Public property PicStretch
Gets or sets pictrue format option.
Public property Picture
Represents user defined picture or textture. Read only.
Public property PictureName
Returns user defined picture of texture name. Read only.
Public property PresetGradientType
Represents presed gradient type.
Public property Texture
Represents gradient texture
Public property Tile
Represents whether picture is tiled or stretched.
Public property Transparency
Returns the transparency level of the specified Solid color shaded XlsFill as a floating-point value from 0.0 (Clear) through 1.0(Opaque)
Public property TransparencyFrom
Returns or sets the degree of transparency of the specified XlsFill as a value from 0.0 (opaque) through 1.0 (clear).
Public property TransparencyTo
Returns or sets the degree of transparency of the specified XlsFill as a value from 0.0 (opaque) through 1.0 (clear).
Public property Visible
Represents if XlsFill style visible.
Top
Methods
Name Description
Public method CustomPicture(String)
Sets user defined picture.
Public method CustomPicture(Image, String)
Sets user defined picture.
Public method CustomTexture(String)
Sets user defined texture.
Public method CustomTexture(Image, String)
Sets user defined texture.
Public method OneColorGradient
Sets the specified XlsFill to a one-color gradient.
Public method OneColorGradient(GradientStyleType)
Sets the specified XlsFill to a one-color gradient.
Public method OneColorGradient(GradientStyleType, GradientVariantsType)
Sets the specified XlsFill to a one-color gradient.
Public method Patterned
Sets the specified XlsFill to a pattern.
Public method PresetGradient(GradientPresetType)
Sets the specified XlsFill to a preset gradient.
Public method PresetGradient(GradientPresetType, GradientStyleType)
Sets the specified XlsFill to a preset gradient.
Public method PresetGradient(GradientPresetType, GradientStyleType, GradientVariantsType)
Sets the specified XlsFill to a preset gradient.
Public method PresetTextured
Sets the specified XlsFill format to a preset texture.
Public method Solid
Sets the specified XlsFill to a uniform color.
Public method TwoColorGradient
Sets the specified XlsFill to a two-color gradient.
Public method TwoColorGradient(GradientStyleType)
Sets the specified XlsFill to a two-color gradient.
Public method TwoColorGradient(GradientStyleType, GradientVariantsType)
Sets the specified XlsFill to a two-color gradient.
Top
See Also