O'Reilly logo

Graphics Programming with GDI+ by Mahesh Chand

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

With the help of .NET runtime interoperability services, we can use the functionality of the Win32 libraries in managed code. The DllImportAttribute class is used to import a Win32 DLL into managed code. In this chapter we saw how to use this class to import Gdi32.dll functions in managed code. We also saw how to use printing and BitBlt functions in managed code.

GDI+ can also be used to write simple and fun drawing applications. This is what we will discuss in Chapter 15. There you will see how GDI+ can be useful for writing fun applications.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required