Tommy
Tommy

Reputation: 7

Difficulties with RectangleF

I always get this error message? What is wrong? How can I use the type RectangleF?

The type or namespace name 'RectangleF' could not be found (are you missing a using directive or an assembly reference?)

Upvotes: 0

Views: 997

Answers (1)

Luke Marlin
Luke Marlin

Reputation: 1398

You need to add the System.Drawing reference to your project

  • Right click "References"
  • "Add Reference..."
  • ".NET" tab
  • select "System.Drawing"
  • "OK".

Upvotes: 1

Related Questions