SDG Toolkit

Mouse.TextCardinalPosition Property

Gets or sets the position of the text caption based upon the Cardinal Direction enumeration. Normal returns a value dead center of the cursor.

public CardinalDirections TextCardinalPosition {get; set;}

Remarks

To change the text cursor to various different locations relative to the cursor. If text is located on the northwest part of the cursor then a programmer will probably want the text right justified and relative to the top left corner. The Cardinal Position enumeration provides a base set of text locations. More custom positions can be produced using the TextFormat and TextLocation properties.

Example

C# Eg., sdgManager1.Mice[0].TextCardinalPosition = Sdgt.CardinalDirections.South;

See Also

Mouse Class | Sdgt Namespace