property Layer.OffsetX as Long
Gets or sets a value that indicates x-offset of the layer.

TypeDescription
Long A Long expression that indicates x-offset of the layer.
By default, the OffsetX / OffsetY property is 0. The OffsetX / OffsetY property specifies the (x,y)-position of the layer, relative to the upper-left corner of the control. The  OffsetXValid / OffsetYValid property to validate the (x,y)-position of the layer. The Value property associates a value to a layer. The ValueToOffsetX property specifies the expression to convert the value to x-offset. The ValueToOffsetY property specifies the expression to convert the value to y-offset. For instance, you can use the OffsetYValid property on "0", and so no vertical movement is allowed for the current layer. Use the DefaultLayer(exDefLayerOffsetX) property to specify the default value for the OffsetX, before adding any layer. The Change event occurs when the layer's OffsetX property is changed. The DragStart / Drag / DragEnd events notify your application when a layer is dragged. The layer's RotamoveOffsetX  / RotamoveOffsetY property indicates the current (x,y) position of the layer, while the OnDrag property is exDoRotamove.

The following picture shows the position/size properties of the Layer, relative to the view / control:

The following properties determines the position / size / offset of the layer:

You can use the following properties to offset the view ( background + foreground ) inside the layer:

The following properties can be used to move / resize the picture on the layer's background: