CADability dotNET
Assure that the charactres in textString will be available when Text(GeoVector, GeoVector, GeoPoint, String, String, FontStyle, Text..::..AlignMode, Text..::..LineAlignMode) is called.

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
void PrepareText(
	string fontName,
	string textString,
	FontStyle fontStyle
)
Visual Basic
Sub PrepareText ( _
	fontName As String, _
	textString As String, _
	fontStyle As FontStyle _
)
Visual C++
void PrepareText(
	String^ fontName, 
	String^ textString, 
	FontStyle fontStyle
)

Parameters

fontName
Type: System..::..String
Name of the font
textString
Type: System..::..String
String to be painted
fontStyle
Type: System.Drawing..::..FontStyle
Additional font style (bold, italic, etc.)

See Also