Bitmap while assigning height width crashes

前端 未结 4 1837
北荒
北荒 2020-12-07 04:59
Dim objBmpImage AS Bitmap = New Bitmap(9450, 6750)

On execution of above line of code application crashes - Argument Exception- Parameter is not va

4条回答
  •  不知归路
    2020-12-07 05:25

    U r using the same object in the bitmap constructor before its actually being created. Try passing an already existing bitmap to the constructor.

提交回复
热议问题