System.Drawing ?

  • Thread starter Thread starter Rlrcstr
  • Start date Start date
R

Rlrcstr

If I create a new class library project, why is System.Drawing not available
to me for Import?

I wanted to create a library of color manipulation functions, but I can't
declare a color object!

Insight, please... Thanks.

Jerry

(System.Drawing is there if I add a form to the project, but still can't
"see" it from the class module.)
 
When a Class Library project is created is has only 3 libraries
referenced

System
System.Data
System.XML

If you want to use Classes, Defintions etc. from other libraries then
you need to include them as references.
Add System.Drawing.dll to the project references.

Alan.
 
Rlrcstr said:
If I create a new class library project, why is System.Drawing not
available to me for Import?

"Project" -> "Add reference..." -> "System.Drawing.dll".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top