Extract Images from Clipboard using Vb.NET
Sub Get_Image_From_ClipBoard()
Try
If My.Computer.Clipboard.ContainsImage() Then
Dim ClipImage As System.Drawing.Image
ClipImage = My.Computer.Clipboard.GetImage
Me.Background = ClipImage
Else
MsgBox("No Images in ClipBoard")
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
See Also:
Get Stored Text from Clipboard using VB.NET
Clear Clipboard Content using VB.NET
No comments:
Post a Comment