LayerGetAxisUserLabelΒΆ
LayerGetAxisUserLabel retrieves the user labels. The user labels are labels which can be places at the axis. The labels can display text.
-
smLabel = LayerSetAxisUserLabel(hLayer, ssXYZ)
-
smLabel = LayerSetAxisUserLabel(hLayer, ssXYZ)
Return Value
smLabel is a string matrix with two columns. The first columns contains the position as a string and the second column the display string. If no labels are defined, the function returns an empty string.
Parameters
-
hLayer
Identifies the layer.
-
ssXYZ
ssXYZ is
"X"
for the x-axis,"Y"
for the y-axis."Z"
is not supported.
Example
smEnum = ["1.0", "On";
"0.0", "Off"];
LayerSetAxisUserLabel(hLayer, "Y", smEnum);
LayerSetAxisUserLabelAttribs(hLayer, "Y", ...
AXIS_USERLABEL_ENABLE | AXIS_STANDARDLABEL_DISABLE | AXIS_USERLABEL_SKIPOVERLAP);
smLabel = LayerSetAxisUserLabel(hLayer, "Y");
History
Version | Description |
---|---|
R2014 | New. |
id-1190577