Compartir a través de


ShadowFormat.OffsetX Property

Returns or sets the horizontal offset of the shadow from the specified shape, in points. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.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(Single) method or the IncrementOffsetY(Single) method.

See Also

Reference

ShadowFormat Interface

ShadowFormat Members

Microsoft.Office.Interop.PowerPoint Namespace