.. highlightlang:: us .. index:: LayerShowGrid .. _layershowgrid: LayerShowGrid ============= .. us.tag LayerShowGrid ENGLISH LayerGrid :ref:`LayerShowGrid` specifies, if the diagram grid will be visible. .. function:: bool = LayerShowGrid(hLayer, ssXYZ, bGridMajor, bGridMinor) .. 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:: bGridMajor *bGridMajor* is TRUE (1) if the major grid lines are visible. .. uparam:: bGridMinor *bGridMinor* is TRUE (1) if the minor grid lines are visible. .. seealso:: :ref:`overview-diagrams`, :ref:`LayerCreate`, :ref:`LayerIsMajorGrid`, :ref:`LayerIsMinorGrid` :sub:`id-1288529`