XYZDeleteLabelΒΆ

XYZDeleteLabel deletes isoline labels inside a rectangle.

bool = XYZDeleteLabel(hData, rvRect)

Return Value

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

Parameters

hData

A handle of a dataset created with XYZCreate.

rvRect

rvRect is a vector with 4 elements:

Value Meaning
rvRect[1] x-coordinate from Point 1 (P1)
rvRect[2] y-coordinate from Point 1 (P1)
rvRect[3] x-coordinate from Point 1 (P2)
rvRect[4] y-coordinate from Point 1 (P2)

Example

Deletes all labels:

...
rvRect = XYZGetMatrixRange(hData);
XYZDeleteLabel(hData, rvRect);
...

The rectangle coordinates must be specified in world coordinates. All labels between points P1 and P2 inside the rectangle will be deleted.

id-314814