Bonjour

J'ai un problème avec DrawString

Voici mon code :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
 
Pic1.BackgroundImage = Image.FromFile(Application.StartupPath & "\myImage.png")
Dim g As Graphics = Pic1.CreateGraphics
 
g.DrawString("My Text SomeWhere", New Font("Arial", 20), Brushes.Black, 10, 10)

Alors, mon texte apparait toujours caché derrière l'image !
comment faire pour placer mon texte au dessus de l'image ?

Merci.
Olivier.