LayerSetAxisUserLabelAttribsΒΆ

LayerSetAxisUserLabelAttribs sets display attributes for axis labels.

bool = LayerSetAxisUserLabelAttribs(hLayer, ssXYZ, nAttrib)

Return Value

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

Parameters

hLayer

Identifies the layer.

ssXYZ

ssXYZ is "X" for the x-axis, "Y" for the y-axis and "Z" for the z-axis.

nAttrib

nAttrib is an OR combination of the following values:

Define Value Description
AXIS_USERLABEL_ENABLE 1 Display user labels.
AXIS_STANDARDLABEL_DISABLE 2 Standard labels are not displayed.
AXIS_USERLABEL_SKIPOVERLAP 4 Overlapping labels are not displayed.
AXIS_USERLABEL_SHOWGRID 8 Grid lines are displayed for user labels.
AXIS_USERLABEL_AUTOLOAD 16 Labels will be updated if data is loaded

Example

smEnum = ["1", "On";
          "0", "Off"];
LayerSetAxisUserLabel(hLayer, "Y", smEnum);
LayerSetAxisUserLabelAttribs(hLayer, "Y", ...
       AXIS_USERLABEL_ENABLE | AXIS_STANDARDLABEL_DISABLE | AXIS_USERLABEL_SKIPOVERLAP);

History

Version Description
R2014 New.

id-308618