Class ShadowFormat (Excel VBA)

The class ShadowFormat represents shadow formatting for a shape.

The classes ChartFormat and Shape. give access to class ShadowFormat

Methods

IncrementOffsetX - Changes the horizontal offset of the shadow by the specified number of points. Use the OffsetX property to set the absolute horizontal shadow offset.

IncrementOffsetY - Changes the vertical offset of the shadow by the specified number of points. Use the OffsetY property to set the absolute vertical shadow offset.

Properties

Blur returns or sets the degree of blurriness of the specified shadow.

ForeColor returns or sets a ColorFormat object that represents the specified foreground fill or solid color.

Obscured true if the shadow of the specified shape appears filled in and is obscured by the shape, even if the shape has no fill.

OffsetX returns or sets the horizontal offset of the shadow from the specified shape, in points. 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 of the shadow from the specified shape, in points. A positive value offsets the shadow down; a negative value offsets it up.

RotateWithShape returns or sets an MsoTriState value that represents whether to rotate the shadow when rotating the shape.

Size returns or sets the size of the specified shadow.

Style returns or sets the style of the specified shadow.

Transparency returns or sets the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear).

Type returns or sets an MsoShadowType value that represents the shadow format type.

Visible returns or sets an MsoTriState value that determines whether the object is visible.

ColorFormat - Represents the color of a one-color object, the foreground or background color of an object with a gradient or patterned fill, or the pointer color.