Hi,

I have a code where I have to use the region class in drawing. When I type using System.Drawing., the region class doesnt appear in the drop down list. I know this is a kinda silly doubt, but I need to include it in my project.

Thanks

prashanth

I have no problem with this. Did you include a reference to System.Drawing?

The region class belongs to the System.Drawing class. You dont need to include a reference to System.Drawing.Region, you just need using System.Drawing and the region class will be recognised as a member of that reference.

Thanx a lot for clarifying it

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.