XPosOffset Property

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

Syntax

object.XPosOffset

object.XPosOffset =XPosOffset

 

Parameter Type Description
XPosOffset Double required, Value in page units for X position offset when axis X position linked. Positive values move the axis to the right. Negative values move the axis to the left.

 

Example 1

This example shows how to set the axis X position to linked and X position offset to 2 page units to the right of the controlling axis.

AxisLink.XPos = True

AxisLink.XPosOffset = 2

Example 2

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

Debug.Print AxisLink.XPosOffset

 

Used by: AutoAxisLink object