Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.49 KB

Publisher.ShadowFormat.IncrementOffsetY.md

File metadata and controls

49 lines (30 loc) · 1.49 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ShadowFormat.IncrementOffsetY method (Publisher)
vbapb10.chm3670033
vbapb10.chm3670033
Publisher.ShadowFormat.IncrementOffsetY
fca7a688-adf8-d8cd-8e14-9d1988c8d9f2
06/13/2019
medium

ShadowFormat.IncrementOffsetY method (Publisher)

Incrementally changes the vertical offset of the shadow by the specified distance.

Syntax

expression.IncrementOffsetY (Increment)

expression A variable that represents a ShadowFormat object.

Parameters

Name Required/Optional Data type Description
Increment Required Variant Specifies how far the shadow offset is to be moved vertically. A positive value moves the shadow down; a negative value moves it up. Numeric values are evaluated in points; strings can be in any units supported by Microsoft Publisher (for example, "2.5 in").

Remarks

Use the OffsetY property to set the absolute vertical shadow offset.

Use the IncrementOffsetX method to change a shadow's horizontal offset.

Example

This example moves the shadow for the third shape in the active publication up by 3 points.

ActiveDocument.Pages(1).Shapes(3).Shadow _ 
 .IncrementOffsetY Increment:=-3 

[!includeSupport and feedback]