bounds

  1. N

    Question Adding an event to a picturebox

    For Each pb As PictureBox In Me.Controls.OfType(Of PictureBox)().Except(New PictureBox() {PictureBox1, PictureBox2}) If PictureBox1.Bounds.IntersectsWith(pb.Bounds) Then MsgBox("ok") End If How can i add an event to the picturebox that intersects with...
  2. B

    Question Get bounds of GraphicsPath

    Hi, I wonder if there is a way I can get the REAL bounding rectangle for a graphicspath, for example a path consisting from one or more bezier curves. The bezier curves in the path have control points and the function .GetBounds takes these points in account. But I only want to get the bounds...
Back
Top