.. highlightlang:: us .. index:: LayerGetAxisPosition .. _layergetaxisposition: LayerGetAxisPosition ==================== .. us.tag LayerGetAxisPosition ENGLISH LayerGet :ref:`LayerGetAxisPosition` returns the position of the axis. .. function:: nPosition = LayerGetAxisPosition(hLayer, ssXYZ) .. us.return **Return Value** *nPosition* specifies the axis position: 0, the axis is hidden, 1, bottom for a X axis and left for a Y axis, 2, top for a X axis and right for a Y axis. .. us.params **Parameters** .. uparam:: hLayer Identifies the layer. .. uparam:: ssXYZ *ssXYZ* is "X" for the x-axis, "Y" for the y-axis and "Z" for the z-axis. .. seealso:: :ref:`overview-diagrams`, :ref:`LayerCreate`, :ref:`LayerSetAxisPosition` :sub:`id-642241`