ok come non detto.
ho aggiunto una referenza al progetto:
codice:
System.Drawing