Browse DevX
Sign up for e-mail newsletters from DevX


Book Excerpt: GDI+ Programming: Creating Custom Controls Using C#

Whether you are using Windows Forms to build rich-client business applications or the ASP.NET framework to build powerful Web applications or Web services, the use of well-designed graphics will greatly enhance their usability, impact, and visual appeal. This book provides a comprehensive guide to the use of GDI+ in .NET applications and aims to provide developers with all the information they need to build effective custom controls.




Building the Right Environment to Support AI, Machine Learning and Deep Learning

his book is designed for the professional developer or tecnhical lead who needs to write GDI+ code for either Windows Forms or for Web Forms applications. Upon completion of this book, the reader will be able to:
  • Program in GDI+ and understand the concepts on which GDI+ is based
  • Build custom controls in Windows Forms and Web forms
  • Enhance design-time support
  • Construct a custom server side bitmap file and display it on a Web page
  • Create a Web Service that serves up custom images
The book is oriented towards a business applications audience and presents designs and techniques that will be useful in such an environment. The information in the book regarding the semantics of GDI+ is language agnostic and the examples are written in C#. A good working knowledge of C# syntax and of the .Net framework is assumed.

Chapter 6, "GraphicsPaths and Regions," discusses how to use the GraphicsPath class to describe paths in GDI+, describe regions using the Region class, and what the similarities, differences, and relationships are between GraphicsPath and Regions.

Download the PDF of Chapter 6: "GraphicsPaths and Regions"

Reproduced from GDI+ Programming: Creating Custom Controls Using C# by permission of Wrox Press. ISBN 1861006314, © 2002. All rights reserved.

Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date