Class Shadow
Represents the shadow class used by the spreadsheet model.
Inherited Members
Namespace: DRIT.Spreadsheet.Drawing
Assembly: DRIT.Spreadsheet.dll
Syntax
public class Shadow
Constructors
Shadow()
Initializes a new Shadow for the supplied workbook data.
Declaration
public Shadow()
Properties
Alignment
Specifies the alignment of the shadow.
Declaration
public RectAlignment Alignment { get; set; }
Property Value
| Type | Description |
|---|---|
| RectAlignment |
Angle
Specifies the angle of the shadow in relation to the shape in degrees.
Declaration
public int Angle { get; set; }
Property Value
| Type | Description |
|---|---|
| int | Between 0 and 359 |
Blur
Specifies the blur radius of the shadow in points.
Declaration
public double Blur { get; set; }
Property Value
| Type | Description |
|---|---|
| double | Between 0 and 100 pt. |
Color
Specifies the color of the shadow.
Declaration
public DrawingColor Color { get; set; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Distance
Specifies the distance of the shadow from the shape in points.
Declaration
public double Distance { get; set; }
Property Value
| Type | Description |
|---|---|
| double | Between 0 and 200 pt. |
Presets
Specifies the preset shadow type applied.
Declaration
public PresetShadowType Presets { get; set; }
Property Value
| Type | Description |
|---|---|
| PresetShadowType |
Size
Specifies the size of the shadow in percentage.
Declaration
public decimal Size { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal | Between 0.01 and 2 inclusive. |
Transparency
Specifies the degree of transparency.
Declaration
public decimal Transparency { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal | Between 0 and 1 inclusive. |
Type
Specifies the category type of the shadow.
Declaration
public ShadowType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| ShadowType |