[]
        
(Showing Draft Content)

C1.C1Preview.Shadow

Shadow Struct

Represents the shadow cast by a RenderObject.

Namespace: C1.C1Preview
Assembly: C1.PrintDocument.4.8.dll
Syntax
public struct Shadow

Constructors

Name Description
Shadow(float, float, Unit, float, Color)

Initializes a new instance of the Shadow structure, assigning Transparency, Size, Distance and Angle values.

Properties

Name Description
Angle

Gets or sets the angle, in degrees, of the shadow. The angle is measured relative to the three o'clock position clockwise.

AngleExpr

Gets or sets the expression used to calculate Angle.

Color

Gets or sets the color of the shadow.

ColorExpr

Gets or sets the expression used to calculate Color.

Distance

Gets or sets the distance that the shadow's center is offset from the the object's center. Note that only absolute Unit values (such as "0.5in" or "4mm") can be assigned to this property.

DistanceExpr

Gets or sets the expression used to calculate Distance.

Size

Gets or sets the size of the shadow relative to the size of the object, in percent. A value of 100 indicates that the shadow has the same size as the object.

SizeExpr

Gets or sets the expression used to calculate Size.

Transparency

Gets or sets the transparency of the shadow, in percent. A value of 0 defines a solid (non-transparent) shadow, a value of 100 defines a fully transparent (invisible) shadow.

TransparencyExpr

Gets or sets the expression used to calculate Transparency.