vb.net - 在 VB.NET 中将图标导出为位图图像
问题描述
我在使用以下代码示例时遇到了很多麻烦:
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Me.Icon.ToBitmap.Save("..\help.bmp", Imaging.ImageFormat.Bmp)
End Sub
End Class
目的是将图标导出为位图文件。但是 - 它不会产生任何输出。有任何想法吗?
解决方案
推荐阅读
- r - 删除字符串中重复两次以上的字符
- swift - iOS 9 中的 AVAudioSession.sharedInstance().setCategory
- android-intent - 如何防止在 Kotlin Android Intent 期间执行新活动中的方法
- r - 如何通过 R 脚本直接将 xtable 导出为 PDF?
- python - 多个布尔运算,例如 (l 和 r) ==None:
- javascript - 在收到握手响应 sipml5 之前连接关闭失败
- c++ - 如何在 %appdata% 中创建文件夹,在其中创建 .bat 文件,然后执行?
- angular - 基于所选计数的 Ng Bootstrap 评级星颜色
- javascript - jQuery DataTables:如果字符串存在于?
- android - Android Management API 中的自定义 SignUpURL