Class ShadowFormat (Word VBA)
The class ShadowFormat represents shadow formatting for a shape.
To use a ShadowFormat class variable it first needs to be instantiated, for example
Dim sft as ShadowFormat Set sft = Selection.Font.TextShadow
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.
Dim cftForeColor As ColorFormat Set cftForeColor = Selection.Font.TextShadow.ForeColor
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.
Parent returns an object that represents the parent object of the specified ShadowFormat object.
Dim objParent As Object Set objParent = Selection.Font.TextShadow.Parent
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.