SDG Toolkit

Mouse.TextFormat Property

Gets or sets the cursor caption string format. The default format is to draw all text in a left to right fashion moving right from TextLocation

public System.Drawing.StringFormat TextFormat {get; set;}

Remarks

It may be useful to orient the text with different alignments (left, center, right). The StringFormat class provides the ability to start and move in different directions. For more information see the StringFormat class.

Example

C# Eg., sdgManager1.Mice[0].TextFormat = new StringFormat(StringFormatFlags.DirectionRightToLeft);

See Also

Mouse Class | Sdgt Namespace