.. highlightlang:: us .. index:: LayerSetAxisTitleAutoPos .. _layersetaxistitleautopos: LayerSetAxisTitleAutoPos ======================== .. us.tag LayerSetAxisTitleAutoPos NOTREADYENGLISH LayerAxisTitle :ref:`LayerSetAxisTitleAutoPos` specifies if the position of the axis title should be calculated automatically. .. function:: bool = LayerSetAxisTitleAutoPos(hLayer, ssXYZ, bAuto) .. us.return **Return Value** If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0). .. 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. .. uparam:: bAuto If *bAuto* is TRUE (1) the position will be calculated automatically. In this case the extension of the axis scale labels is taken into account. If *bAuto* is FALSE (0) the position can be set with the function :ref:`LayerSetAxisTitleOffset` in centimeters. .. seealso:: :ref:`overview-diagrams`, :ref:`LayerIsAxisTitleAutoPos`, :ref:`LayerSetAxisTitleOffset`, :ref:`LayerCreate` :sub:`id-495057`