ShadowFormat.OffsetX Property

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.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.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

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

See Also

Reference

ShadowFormat Interface

ShadowFormat Members

Microsoft.Office.Interop.Word Namespace