.NETGURU
System.Drawing.Graphics Class
Information   Base Types   Related Resources

Encapsulates a GDI+ drawing surface. This class cannot be inherited.

  • Namespace: System.Drawing
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.1.4322
  • Assembly: System.Drawing.dll

  • System.MarshalByRefObject
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (16)Discussions (1037)MembersRotorChanges
    Articles

    Page: 1
    ASP.NET Naughts and Crosses
    C# Corner
    This article demonstrates the basic techniques used to build "ASP.net Noughts & Crosses" (tic tac toe to our American friends). The game uses the native imaging and drawing features of the .net Framework to dynamically generate a JPEG image which displays the game board to the user. Players can take turns to click on the area of the image where they wish to make a move, their move is then submitted to the web server where, if legal, it is drawn onto the board. The application consists of two aspx web pages which each have an associated code behind page.
    Bypass Graphics.MeasureString limitations
    The Code Project
    Graphics.MeasureString can be used to compute the height and width of a text string. Often, however, the dimensions returned do not match the size of what gets drawn on screen when calling Graphics.DrawString. The code I present here can be inserted into any class which needs to compute the real width of a string (shown by the yellow background above).
    Chart a Course With ASP.NET Graphics
    Visual Studio Magazine
    M any Web applications that facilitate data analysis require support for charts and other graphics. After all, a picture is worth a thousand words. Traditional ASP did not support these capabilities, so you had to rely on third-party components or Java applets to get the job done. With ASP.NET, you can leverage the graphics classes in the .NET Framework, opening the door for you to create rich, dynamic charts.
    Common .NET Libraries for Developers
    MSDN
    Identifies and defines many of common namespaces that you will use when developing .NET applications, and provides examples of the most common classes and methods in those namespaces.
    Developing Compelling User Controls that Target Forms in the .NET Framework
    MSDN
    In the beginning, writing controls meant dealing with Windows messages. Then came Visual Basic controls, which introduced methods, properties, and events. Later, ActiveX controls, which ran atop COM, became popular. While each innovation in control writing brought more flexibility, nothing has matched the versatility of the new .NET Windows Forms controls and Web Forms controls. This article, the first of a two-part series, introduces the reader to Windows Forms, beginning with their inheritance from one of the .NET CLR base classes, which makes control creation much faster than before. Control programming is illustrated through the development of a login control.
    Documents Do Dot Net Guruer: Serve Them Nicely and Effectively with Avalon Document Services
    MSDN
    Provides an overview of document services available in Avalon. In particular, it focuses on the PageViewer control. The new managed API for compound files is also presented with practical code samples.
    Drawing B-Spline Curves
    C# Corner
    The attached source code project draws spline curves between two points. Its a cubic spline fitting means program start drawing curve after four clicks.
    Height of Text
    The Code Project
    This function will return the height of text. Designed for use with text boxes on windows forms.
    How to sum the fields in a Windows Forms DataGrid control and display the calculated totals in a footer by using Visual C# .NET
    http://www.kbalertz.com/
    (842290) - Explains how to calculate the sums of the values in the columns of a Windows Forms DataGrid control and display these sums in a footer. Requires knowledge of Visual C# .NET.
    How to sum the fields in a Windows Forms DataGrid control and display the calculated totals in a footer by using Visual C# .NET
    http://www.kbalertz.com/
    (842290) - Explains how to calculate the sums of the values in the columns of a Windows Forms DataGrid control and display these sums in a footer. Requires knowledge of Visual C# .NET.
    How to sum the fields in a Windows Forms DataGrid control and then display the calculated totals in a footer by using Visual Basic .NET
    http://www.kbalertz.com/
    (836672) - Explains how to calculate the sums of the values in the columns of a Windows Forms DataGrid control and display these sums in a footer. Requires knowledge of Visual Basic .NET.
    How to Use a GDI+ Application in NetCOBOL for .NET
    DotNetJunkies
    In this how to, we'll explore how to develop a GDI+ (Graphics Device Interface) application using System.Drawing and NetCOBOL for .NET.
    Introduction to GDI+
    GotDotNet
    GotDotNet's introduction to GDI+. Extract: "The common language runtime takes advantage of an advanced version of the Windows graphics device interface (GDI) called GDI+. GDI+ is designed to provide high performance and ease of use. It supports 2-D graphics, typography, and imaging. "
    Mandelbrot set in MSIL
    The Code Project
    To really be able to program .Net, a good programmer will find themselves using ILDASM, the MSIL disassembler, on a regular basis. This necessitates an ability to, at a minimum, be competent at reading MSIL. Unfortunately, the best way to learn to read MSIL is to spend some time writing it! Thus, I set about thinking of something I could write, which would not be too large, but would cover enough of the concepts to give me an ability to read MSIL.
    Refactoring C# Code Using Visual Studio 2005
    MSDN
    This article examines the role of code refactoring, and the refactoring techniques supported by Visual Studio .NET 2005.
    Sprite manipulation in C#
    The Code Project
    Basic sprite animation, clipping, z-ordering in C# using GDI+.
    Ad


    Need Dot Net Interview Questions?
    Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
    .Net Projects
    Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
    Free .net Help
    Commission ExamGuru, Inc. and his team for your next bespoke software project
    FogBUGZ
    The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
    Awesome Tools
    If you don't know about these, you're missing out... IT Certification Questions
    IT Interview Questions
    Free Oracle 10g Training
    MCSE Boortcamp
    Cisco Study Guides
    Cheap Study Guides
    Exact Questions
    Dot Net Interview Questions
    Oracle OCP
    Cheap Travel
    Designer Perfumes - Wholesale Prices
    Free Programming Tutorials
     
    ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
     Copyright © ExamGuru, Inc. 2001-2006
    Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification