Class Fill
Represents fill formatting for a shape.
Inherited Members
Namespace: DRIT.Spreadsheet.Drawing
Assembly: DRIT.Spreadsheet.dll
Syntax
public class Fill
Constructors
Fill()
Represents fill formatting for a shape.
Declaration
public Fill()
Properties
Gradient
Specifies the gradient fill settings.
Declaration
public GradientFill Gradient { get; set; }
Property Value
| Type | Description |
|---|---|
| GradientFill |
Pattern
Specifies the pattern fill settings.
Declaration
public PatternFill Pattern { get; set; }
Property Value
| Type | Description |
|---|---|
| PatternFill |
PictureFill
Specifies the picture fill settings.
Declaration
public PictureFill PictureFill { get; set; }
Property Value
| Type | Description |
|---|---|
| PictureFill |
SolidColor
Specifies the solid fill color.
Declaration
public Color SolidColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
SolidDrawingColor
Specifies the solid fill color as a DrawingColor.
Declaration
public DrawingColor SolidDrawingColor { get; set; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
TextureName
Specifies the texture name.
Declaration
public string TextureName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Transparency
Specifies the transparency of the fill.
Declaration
public decimal Transparency { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal |
Type
Specifies the fill type.
Declaration
public FillType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| FillType |
Methods
OnTypeChanged()
Called when the fill type changes.
Declaration
protected virtual void OnTypeChanged()