Class ShadowFormat (Word VBA)
The class ShadowFormat represents shadow formatting for a shape.
The classes ChartFormat, Font, InlineShape and Shape. give access to class ShadowFormat
Dim sft as ShadowFormat
Set sft = Selection.Font.TextShadow
Methods
IncrementOffsetX - Changes the horizontal offset of the shadow by the specified number of points.
IncrementOffsetY - Changes the vertical offset of the shadow by the specified number of points.
Properties
Blur returns or sets a Single that represents the blur level for a shadow format.
ForeColor returns or sets a ColorFormat object that represents the foreground color for the fill, line, or shadow.
Obscured msoTrue if the shadow of the specified shape appears filled in and is obscured by the shape, even if the shape has no fill. MsoFalse if the shadow has no fill and the outline of the shadow is visible through the shape if the shape has no fill.
OffsetX returns or sets the horizontal offset (in points) of the shadow from the specified shape. A positive value offsets the shadow to the right of the shape; a negative value offsets it to the left.
OffsetY returns or sets the vertical offset (in points) of the shadow from the specified shape.
RotateWithShape returns or sets an MsoTriState that represents whether to rotate the shadow when rotating the shape.
Size returns or sets a Single that represents the width of the shadow.
Style returns or sets a MsoShadowType that represents the type of shadow formatting to apply to a shape.
Transparency returns or sets the degree of transparency of the specified shadow as a value between 0.0 (opaque) and 1.0 (clear).
Type returns or sets the shape shadow type.
Visible true if the specified object, or the formatting applied to it, is visible.
Related Classes
ColorFormat - Represents the color of a one-color object or the foreground or background color of an object with a gradient or patterned fill. You can set colors to an explicit red-green-blue value by using the RGB property.