Why i cant use bitmap class on dll class?
For example:
Public Class Class1
Public Sub Some()
Dim Image As New Bitmap("C:\image.bmp")
End Function
End Class
Displays an error on Bitmap which says开发者_运维问答 "Name Bitmap is not declared".
Some solution? is impossible use Bitmap class or another class?
Are you referencing the System.Drawing.dll
assembly and importing the System.Drawing
namespace?
Right-click on the Bitmap
identifier and see if Visual Studio asks you to add an import for it.
精彩评论