Private Function CapturarPintura() As Bitmap
Dim bm As Bitmap
Dim gr As Graphics = Me.CreateGraphics
Dim fSize As Size = Me.GB_Grafico.Size
bm = New Bitmap(Me.GB_Grafico.Width, Me.GB_Grafico.Height, gr)
Dim gr2 As Graphics = Graphics.FromImage(bm)
Dim pt As New System.Drawing.Point
pt = Me.GB_Grafico.Location
gr2.CopyFromScreen(Me.Location.X + pt.X, Me.Location.Y + pt.Y, 0, 0, fSize)
Return bm
End Function
form.png
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE