• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class Shadow

Represents the shadow class used by the spreadsheet model.

Inheritance
object
Shadow
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX