Class Fill
Represents a Fill.
Inherited Members
Namespace: DRIT.Document.Drawing
Assembly: DRIT.Document.dll
Syntax
public class Fill
Properties
Gradient
Gets gradient.
Declaration
public GradientFill Gradient { get; set; }
Property Value
| Type | Description |
|---|---|
| GradientFill |
Pattern
Gets pattern.
Declaration
public PatternFill Pattern { get; set; }
Property Value
| Type | Description |
|---|---|
| PatternFill |
PictureFill
Gets picture fill.
Declaration
public PictureFill PictureFill { get; set; }
Property Value
| Type | Description |
|---|---|
| PictureFill |
SolidColor
Gets solid color.
Declaration
public Color SolidColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
SolidDrawingColor
Gets solid drawing color.
Declaration
public DrawingColor SolidDrawingColor { get; set; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
TextureName
Gets or sets texture name.
Declaration
public string TextureName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Transparency
Gets or sets transparency.
Declaration
public decimal Transparency { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal |
Type
Gets type.
Declaration
public FillType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| FillType |
Methods
SetEmpty()
Sets the empty for this object.
Declaration
public Fill SetEmpty()
Returns
| Type | Description |
|---|---|
| Fill | The resulting value. |
SetSolid(DrawingColor)
Sets the solid for this object.
Declaration
public Fill SetSolid(DrawingColor color)
Parameters
| Type | Name | Description |
|---|---|---|
| DrawingColor | color | The color used by the operation. |
Returns
| Type | Description |
|---|---|
| Fill | The resulting value. |
SetSolid(Color)
Sets the solid for this object.
Declaration
public Fill SetSolid(Color color)
Parameters
| Type | Name | Description |
|---|---|---|
| Color | color | The color used by the operation. |
Returns
| Type | Description |
|---|---|
| Fill | The resulting value. |