ploting just one pixel

Discussion in 'Questions (Windows Mobile)' started by colin9876, Nov 30, 2007.

  1. colin9876

    colin9876 Active Member Licensed User

    I need to be able to plot a single pixel.

    Before someone said use line but ...
    if you do form.line(x,y,x,y, ) you get nothing
    and form.line(x,y,x+1,y, ) gives 2 pixels???:sign0085:
     
  2. Cableguy

    Cableguy Expert Licensed User

    Using ImageLib, you can "draw" a single pixel by cahnging its color...

    --------------------------------------------------------------------------------
    From the Help files...

    Changes the color of the specified pixel.
    Syntax: SetPixel (x As Int32, y As Int32, color As Color)


    Example:
    bitmap1.SetPixel (5,5, cRed)
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice