Android Question Is there a method like Picturebox.point(x,y) in VB6

Discussion in 'Android Questions' started by Mscal, Mar 20, 2017.

  1. Mscal

    Mscal Member Licensed User

    Hi,everyone.At first I'm sorry for my stupid,but can you tell me if there a method used like Picturebox.point(x,y) in VB6?
    For example
    I have a EX.jpg,i want to load it in imageview or other something,then i can check every point's color.
    How can i do it?
  2. Eme Fibonacci

    Eme Fibonacci Active Member Licensed User

    Dim b As Bitmap
    'Get Pixel
    'Use canvas to draw point.
    Dim c As Canvas
  3. Mscal

    Mscal Member Licensed User

    thank you very much.
  4. Mscal

    Mscal Member Licensed User

    I tested it and get color,but the value is minus.How can i convert it to RGB ?
  5. Mscal

    Mscal Member Licensed User

    well,I get pure White=-1 and pure black=-16777216.I think i can get the VB6 like value when add 16777216
  6. Erel

    Erel Administrator Staff Member Licensed User