MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLLabelOperation Class Reference

Detailed Description

This is the TSLLabelOperation.

Operation Name label

Additional Data TSLSpecialisedData structure

This is a construction operation. The operation allows the application user to add an arrow with a text label to the editing layer.

The user selects the point of the arrow by clicking on a position with the left mouse button. This point may be snapped to an existing point in the editor or map layer by holding down the control key. The user selects the position of the base of the arrow with another left click and is prompted to enter the label text.

The following properties defined by the construction type structure apply to the label operation.

arrowAngle arrowHead featureID textHeight textFont textColour lineStyle lineColour lineThickness fillColour fillStyle labelOnArrowhead

Static Public Member Functions

static bool add (TSLEditor *editor)
 

Member Function Documentation

◆ add()

static bool TSLLabelOperation::add ( TSLEditor * editor)
static

This method adds the operation to a TSLEditor object. It is passed a pointer to the editor object.

Arguments list details:

editor: a pointer to the TSLEditor object.

Returns true if added successfully, otherwise false.