SetFont

SetFont(font as String, size as Numeric, type as Numeric, color as Numeric)

 

Setzt die aktuelle Schriftart. Soll innerhalb eines Formulars die Schriftart gewechselt werden, so muss eine neue Schriftanweisung erfolgen.

 

Parameter

font

Name der Schrift

 

size

Schriftgr÷▀e in Punkt

 

type

eine Kombination der Schriftkonstanten FONT_NORMAL, FONT_BOLD, FONT_ITALIC, FONT_BOLD_ITALIC

 

color

 eine Farbkonstante alsTextfarbe, z.B. COLOR_BLACK

 

Beispiel

SetFont("Arial", 14, FONT_BOLD, COLOR_BLACK)

 

"Arial"

Name der Schrift

14

Gr÷▀e der Schrift

FONT_BOLD

Fettschrift

COLOR_BLACK

Farbe schwarz

 

 

Siehe auch

SetFontName , SetFontSize , SetFontType , SetFontColor , Schriftkonstanten , Farbkonstanten