YPosOffset Property

The YPosOffset property returns or sets the Y position offset for axis Y position when the axis is linked. Returns a Double.

Syntax

object.YPosOffset

object.YPosOffset = YPosOffset

 

Parameter Type Description
YPosOffset Double required, Value in page units for Y position offset when axis Y position linked. Positive values move the axis up. Negative values move the axis down.

 

Example 1

This example shows how to set the axis Y position to linked and Y position offset to 2 page units below the controlling axis.

AxisLink.YPos = True

AxisLink.YPosOffset = -2

 

Example 2

This example shows how to return the axis Y position offset, when linked.

Debug.Print AxisLink.YPosOffset

 

Used by: AutoAxisLink object