.. highlightlang:: us .. index:: LayerGetMajorGridPen .. _layergetmajorgridpen: LayerGetMajorGridPen ==================== .. us.tag LayerGetMajorGridPen ENGLISH LayerGrid :ref:`LayerGetMajorGridPen` returns the handle to a pen that is used to draw the major grid lines. .. function:: hPen = LayerGetMajorGridPen(hLayer, ssXYZ) .. us.return **Return Value** *hPen* is the handle of the drawing pen. .. 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` :sub:`id-1725329`