Skip to content

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Abhimanyu K Vatsa
    0
    That was a simple drawing, you can not modify it there without any special image editor. We only use to draw and erase not can modify. Because there is no any method or function to edit the graphics like increase/decrease the size.

    I hope I am wright.
    0
  • 0
    Iam trying to use array rectangle to do this. but when i run my application it shows error message

    private void pictureBox1_MouseDown(object sender, MouseEventArgs e)
            {
                if (mybitmap == null)
                {
                    mybitmap = new Bitmap(sz.Width, sz.Height);
                   
                }
                rect[count] = new Rectangle(e.X, e.Y, 0, 0);
                this.Invalidate();

    error as "Object reference not set to an instance of an object." (Null reference Exception was unhandled.)

    how to solve this one....
    0