Share via


ShadowFormat.OffsetY Property

Returns or sets the vertical 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 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 below the shape; a negative value offsets it above the shape.

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