Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • when you write ImageFormat. intelliSense should give you suggestions, for example ImageFormat.Jpeg Commented Jan 25, 2014 at 22:30
  • do i need to add any reference? and what can i put to save it for example on my desktop (general address that works for all computer) Commented Jan 25, 2014 at 22:33
  • @CowBoy answered that in an edit. Add: using System.Drawing.Imaging; Commented Jan 25, 2014 at 22:35
  • i got it cool! but it doeasnt save it, i put "C:\Users\M.R.B\Desktop" but its giving me error Commented Jan 25, 2014 at 22:38
  • 1
    @CowBoy Probably that is the default bitmap color. Try this g.Clear(Color.White) before writing text. Commented Jan 25, 2014 at 22:58