Share via


ShadowFormat.OffsetY Property

Returns or sets the vertical offset of the shadow from the specified shape in points.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property OffsetY As Single
    Get
    Set
'Usage
Dim instance As ShadowFormat
Dim value As Single

value = instance.OffsetY

instance.OffsetY = value
float OffsetY { get; set; }

Property Value

Type: System.Single

Remarks

A positive value offsets the shadow to the right of the shape; a negative value offsets it to the left.

If you want to nudge a shadow horizontally or vertically from its current position without having to specify an absolute position, use the IncrementOffsetX method or the IncrementOffsetY method.

See Also

Reference

ShadowFormat Interface

ShadowFormat Members

Microsoft.Office.Interop.Excel Namespace