cs_vara956
Messages postés50Date d'inscriptionmardi 12 octobre 2004StatutMembreDernière intervention 4 novembre 2008
-
8 août 2006 à 14:50
scottmat
Messages postés438Date d'inscriptionsamedi 24 mai 2003StatutMembreDernière intervention23 janvier 2011
-
30 août 2006 à 12:06
salut
voila je fais une application pour faire des devis,
tout fonctionne correctement meme l'impression,
mais je voudrait mettre certaine lignes en gras et la je seche !
exemple de mon code :
Dim
printfontA AsNew Font("Arial", 16)
Dim printfontb
As
New Font("Arial", 7)
e.Graphics.DrawString("Sebelec", printfontA, Brush, 20, 35, drawFormat)e.Graphics.DrawLine(blackPen, x1, y1, x2, y2)
e.Graphics.DrawString("Siège social :" & vbTab & "10 rue ampère", printfontb, Brush, 100, 60, drawFormat)
e.Graphics.DrawString(vbTab & vbTab & "ZI - BP 254", printfontb, Brush, 100, 75, drawFormat)e.Graphics.DrawString(vbTab & vbTab & "69685 Chassieu cédex", printfontb, Brush, 100, 90, drawFormat)
e.Graphics.DrawImage(newImage.FromFile("C:\solufast\data\ABB_logo.gif"), 630.0F, 30.0F)
ce code fonction mais je voudrais la premier ligne en gras avec la meme police