Kyoko
Erfahrenes Mitglied
Also, in VB müsste das ganze ja eig. so aussehen, oder?
Code:
Private Sub pictureBox1_Paint(object sender, EventArgs e)
Dim sf As StringFormat()
sf.LineAlignment = StringAlignment.Center;
sf.Alignment = StringAlignment.Center;
e.Graphics.DrawString("mein Text", SystemFonts.DefaultFont, SystemBrushes.WindowText, pictureBox1.Bounds, sf);
End Sub