Skip to main content
  • Book
  • © 2002

GDI+ Programming in C# and VB .NET

Apress

Authors:

  • First book that covers GDI+ in depth
  • Includes a chapter on common ways to draw using VB6 and C++
  • Loaded with real-world examples that teach programmers how to get the best possible speed and efficiency out of their code
  • Includes supplementary material: sn.pub/extras
  • 2990 Accesses

Buy it now

Buying options

eBook USD 54.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (10 chapters)

  1. Front Matter

    Pages i-xxii
  2. Theory

    1. Front Matter

      Pages 1-1
    2. .NET Primer

      • Nick Symmonds
      Pages 3-29
    3. GDI Explained

      • Nick Symmonds
      Pages 31-48
    4. GDI and VB 6.0 Drawing Example

      • Nick Symmonds
      Pages 49-78
    5. Vector Graphics

      • Nick Symmonds
      Pages 79-163
    6. Advanced Graphics

      • Nick Symmonds
      Pages 165-245
    7. Working with Images

      • Nick Symmonds
      Pages 247-315
    8. Drawing Text

      • Nick Symmonds
      Pages 317-373
    9. Printing

      • Nick Symmonds
      Pages 375-432
  3. Application Notes

    1. Front Matter

      Pages 433-433
    2. GDI+ Projects

      • Nick Symmonds
      Pages 435-491
    3. GDI+ with Forms

      • Nick Symmonds
      Pages 493-549
  4. Back Matter

    Pages 551-594

About this book

GDI+ both wraps arcane API calls and extends them for much easier use. Programmers no longer have to make do with the familiar but simplistic VB 6.0 drawing model, nor do they have to dig down into the GDI API in order to get any real work done. In GDI+, Microsoft has come up with a complete, but still extensible, set of classes for all of the .NET programmers drawing needs.

GDI+ requires different techniques than the Windows GDI API, as it is completely stateless. GDI+ Programming in C# and VB .NET starts out with an explanation of GDI+ and how it relates to GDI. The book then dives deep into the GDI+ namespaces and classes. The book begins with basic drawing in the early chapters and then explains in an understandable manner more complex drawing techniques, including paths, gradients, alpha blends, matrix operations, and transformations.

Later chapters cover how to work with bitmaps and other images, as well as advanced drawing and printing techniques. The final two chapters are devoted to useful projects that show the subject matter of the previous chapters in real-world examples.

Throughout GDI+ Programming in C# and VB .NET, author Nick Symmonds not only explains the different namespaces and classes relating to GDI+, but also takes the time to cover the best practices of graphics programming. Woven throughout the book are numerous examples that tie together different aspects of programming in .NET that teach programmers how to get the best possible speed and efficiency out of their code.

Reviews

From the reviews:

"This book aims to provide an introduction to programming GDI+ in both C# and VB.NET. … the book is well written, nicely presented and the concepts that are covered are clearly explained. … There is a lot of example code included in the text and projects are also available for download from the publisher’s web site. … The book adopts a hands-on approach and it would suit someone who is relatively new to .NET and graphics programming." (Max Palmer, CVU, April, 2003)

About the author

Nick Symmonds works for the Integrated System Solutions division of Ingersoll-Rand, developing and integrating security software. He started his professional life as an electronics technician. While getting his bachelor's degree in electrical engineering from the University of Hartford, he started to gravitate toward programming. Nick has spent quite a few years programming in assembly, C, C++, and Visual Basic. Recently, he has latched onto .NET like a lamprey and loves digging into the .NET core. Nick has written several articles on programming and has three books out: Internationalization and Localization Using Microsoft .NET (Apress, 2002), GDI+ Programming in C# and VB .NET (Apress, 2002), and Data Entry and Validation with C# and VB .NET Windows Forms (Apress, 2003). He lives with his family in the northwest hills of Connecticut and has recently become addicted to golf and road cycling. He also enjoys woodworking, hiking, and exploring the hills on his motorcycle.

Bibliographic Information

  • Book Title: GDI+ Programming in C# and VB .NET

  • Authors: Nick Symmonds

  • DOI: https://doi.org/10.1007/978-1-4302-0828-0

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Springer Book Archive

  • Copyright Information: Nick Symmonds 2002

  • Softcover ISBN: 978-1-59059-035-5Published: 02 July 2002

  • eBook ISBN: 978-1-4302-0828-0Published: 09 November 2013

  • Edition Number: 1

  • Number of Pages: XXII, 624

  • Number of Illustrations: 70 b/w illustrations

  • Topics: Microsoft and .NET, Software Engineering/Programming and Operating Systems

Buy it now

Buying options

eBook USD 54.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access