I Using C# Window Application.
System.Drawing.Image <- having error... cannot using System.Drawing.Image now what can i do?

The System.Drawing.Image is an abstract class so use static methods to create/load an image.

 using (Image image = Image.FromFile("file.png"))
  {
    //code here
  }
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.