XYProtectLegendTextΒΆ

XYProtectLegendText protects the legend text of a dataset.

bool = XYProtectLegendText(hData, bProtect)

Return Value

If the function succeeds, the return value bool is TRUE (1); otherwise it is FALSE (0).

Parameters

hData

The handle of a dataset created with XYCreate or TYCreate.

bProtect

If bProtect is TRUE (1), the dataset legend text is protected against modification.

Comment

Comments

If the option Always update legend text of 1D and 2D datasets. in the dialog box File=>Import Options is disabled the legend text will never be updated.

id-1702303