Zum Inhalt

.DrawStringRect (.graphics Objekmethode)

Beschreibung

Diese Funktion zeichnet eine Textbox mit Text. Draws a text string clipped to the specified rectangle using the current font and pen colour.

Argumente

Name

Typ

Beschreibung

X

float

x1 in mm (Startpunkt Rechteck, linke obere Ecke)

Y

float

y1 in mm (Startpunkt Rechteck)

Width

float

Breite des Rechtecks in mm

Height

float

Höhe des Rechtecks in mm

Text

string

Text

Rückgabewert void

nichts

Beispiel

Lo_Graphics.DrawStringRect(5, 5, Li_Width - 195, 30, Ls_RoomName + " " + Ls_RoomDescription);