Compartilhar via


ShadowFormat.OffsetX Property

Returns or sets the horizontal 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 OffsetX As Single
    Get
    Set
'Usage
Dim instance As ShadowFormat
Dim value As Single

value = instance.OffsetX

instance.OffsetX = value
float OffsetX { 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