Results 1 to 2 of 2

Thread: How Do I Draw a Dot using the graphics class *[RESOLVED]*

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2002
    Posts
    94

    Question How Do I Draw a Dot using the graphics class *[RESOLVED]*

    I know how to draw a line, but the min length of a line is 2 pixles, I need to draw a dot?

    Any Thoughts?
    Last edited by Evad; Feb 10th, 2003 at 04:13 AM.

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    I was palying around graphics class and came up with very small dot .
    VB Code:
    1. Dim i As New Bitmap(1, 1)
    2. i.SetPixel(0, 0, Color.Black)
    3. e.Graphics.DrawImage(i, 100, 100)
    4. i.Dispose()

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width