Creates and adds the 2D text to the surface.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public XText2D AddText(
	string text,
	Font font,
	int x,
	int y
)

Parameters

text
Type: System..::.String
Displayed text.
font
Type: System.Drawing..::.Font
The Font font type.
x
Type: System..::.Int32
Text X coordinates.
y
Type: System..::.Int32
Text Y coordinates.

Return Value

Returns newly created XText2D 2D text.

See Also