-
Font with printing
I use the following code for printing some text to a print.
e.Graphics.DrawString("Purchase Order", Me.Font, New SolidBrush(Color.Black), 25, 200)
In this example the fonts are used of the fonts used in Form.
Hoe can I change this code, or build something around it, to use another font with some other style (like bold or italic)?
Hope someone can explain it to me.
-Ries-
-
Not at my computer right now but this will get you close:
e.Graphics.DrawString("Purchase Order", New Font("Arial",Fontsyle.Bold), New SolidBrush(Color.Black), 25, 200)