vb.net Class library project

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Building classes for an OOP project and went to add a property that for one
of my objects that is an Image. I went to include System.Drawing and to my
surprise it did not exist. Does any one know why the drawing name space is
not available in a class library project and is there a way that I can add it
back in?

I need to receive an image in this property and then do some contrast
manipulation on the object

Thanks
G
 
Gary Lemmon said:
Building classes for an OOP project and went to add a property that for
one
of my objects that is an Image. I went to include System.Drawing and to
my
surprise it did not exist. Does any one know why the drawing name space
is
not available in a class library project and is there a way that I can add
it
back in?

A class library project generally does not deal with drawing or with forms.
Thus, it does not have System.Drawing.dll referenced (or
System.Windows.Forms.dll). If you right click on the References icon in your
project, and select Add Reference, a dialog should appear that allows you to
select System.Drawing.dll.
 
Back
Top