.. highlightlang:: us .. index:: LayerSetGridPen .. _layersetgridpen: LayerSetGridPen =============== .. us.tag LayerSetGridPen NOTREADYENGLISH LayerGrid :ref:`LayerSetGridPen` sets the grid line pen. .. function:: bool = LayerSetGridPen(hLayer, ssXYZ, hPenMajor, hPenMinor) .. 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:: hPenMajor *hPenMajor* .. uparam:: hPenMinor *hPenMinor* .. seealso:: :ref:`overview-diagrams`, :ref:`LayerCreate`, :ref:`PenCreate`, :ref:`LayerGetMajorGridPen`, :ref:`LayerGetMinorGridPen` :sub:`id-1451293`