.. highlightlang:: us .. index:: XYIsLegendTextProtected .. _xyislegendtextprotected: XYIsLegendTextProtected ======================= .. us.tag XYIsLegendTextProtected NOTREADYENGLISH XYGet New5600 :ref:`XYIsLegendTextProtected` determines if the dataset legend text is protected. .. function:: bProtected = XYIsLegendTextProtected(hData) .. us.return **Return Value** If **bProtected** is TRUE (1), the legend text will not be altered during data exchange. *bProtected* .. us.params **Parameters** .. uparam:: hData The handle of a dataset created with :ref:`XYCreate` or :ref:`TYCreate`. .. seealso:: :ref:`overview-xy-datasets`, :ref:`TYCreate`, :ref:`XYCreate`, :ref:`XYShow`, :ref:`XYSetLegendText` :sub:`id-691975`