[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.OuterShadow

OuterShadow Class

Represents an outer shadow effect that can be applied to an object.

Inheritance
OuterShadow
Implements
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class OuterShadow : InnerShadow, IFixedFormattingBag
Public Class OuterShadow
    Inherits InnerShadow
    Implements IFixedFormattingBag

Properties

Name Description
Alignment

Gets or sets the shadow alignment.

The default is null for texts and Bottom for drawings.

Note that null cannot be used for drawings.

IsFixed

Gets a value indicating whether the formatting is fixed in the class instance level.

If true, any formatting changes on an ancestor level of the same class will be ignored.

If false, changing a property on an ancestor level will apply to this level too.

For example, changing a property of Fill on style level will change that property only for those Runs that have IsFixed equal to false.

RotateWithObject

Gets or sets a value indicating whether the shadow rotates along with the object when the object is rotated.

Default value is true.

Note that this property cannot be applied for text.

ScaleX

Gets or sets the horizontal scaling factor of the shadow. Negative scaling causes a flip.

The default is 0 for text and 100 for drawing.

ScaleY

Gets or sets the vertical scaling factor of the shadow. Negative scaling causes a flip.

The default is 0 for text and 100 for drawing.

SkewX

Gets or sets the horizontal skew angle of the shadow.

The default is 0.

The value range from -89.9 to 89.9.

SkewY

Gets or sets the vertical skew angle of the shadow.

The default is 0.

The value range from -89.9 to 89.9.

Methods

Name Description
Clean()

Sets all properties to their default values.

Also sets IsFixed to true if any properties of this class are defined on an ancestor level.

Equals(object)
FixInheritedValues()

Fixes all inherited values as "direct" values for this instance.

GetHashCode()