Visual C# .NET » Graphics & GDI+

We have 139 Graphics & GDI+ tutorials, you can see below:


GDI+ 3D Demo using C#


An article on 3-D graphics and C#


Details    Read Tutorial    Views: 2321    Rate: 0 (1 votes)    Apr 22 2007 - 16:25

Photo Album in C#


An article describing how to make a photo album like program.


Details    Read Tutorial    Views: 708    Rate: 0 (0 votes)    Apr 22 2007 - 16:23

C# Asteroids without DirectX


An implementation of the classic asteroids game using 2D Drawing classes


Details    Read Tutorial    Views: 709    Rate: 0 (0 votes)    Apr 22 2007 - 16:22

Using MeasureCharacterRanges to Draw Text


How to use MeasureCharacterRanges to calculate the bounding rectangles of charaters in a string, to allow characters to be placed along curves.


Details    Read Tutorial    Views: 471    Rate: 0 (0 votes)    Apr 22 2007 - 16:21

Image Format Conversion in .NET


Discusses how to convert image formats in .NET, exemplified by a WebService that converts image formats on the fly!


Details    Read Tutorial    Views: 547    Rate: 0 (0 votes)    Apr 22 2007 - 16:19

Drawing and Editing Lines with GDI+


Here\'s the code to implement a basic graphic user interface to paint, and then edit, lines on a PictureBox.


Details    Read Tutorial    Views: 1064    Rate: 4 (1 votes)    Apr 22 2007 - 16:18

Flicker Free Drawing in C#


An article to describe the ways to avoid flicker when drawing.


Details    Read Tutorial    Views: 1324    Rate: 0 (0 votes)    Apr 22 2007 - 16:16

Web Image Browser - Lots of images and no time to publish them?


Web Image Browser with directory explorer and thumbnail/web friendly on-the-fly image creation and caching.


Details    Read Tutorial    Views: 270    Rate: 0 (0 votes)    Apr 22 2007 - 16:14

A simple TIFF management class


Using GDI+ to parse TIFF files.


Details    Read Tutorial    Views: 448    Rate: 0 (1 votes)    Apr 22 2007 - 16:13

Creating fancy text effects with C#


Code to create cool looking text for use in your application.


Details    Read Tutorial    Views: 724    Rate: 5 (1 votes)    Apr 22 2007 - 16:12

Drawing POSTNET Barcodes with C#


This article demonstrates a method to draw POSTNET barcodes.


Details    Read Tutorial    Views: 292    Rate: 0 (0 votes)    Apr 22 2007 - 16:11

Create a fractal Christmas tree


This program explores how trees are made using a simple fractal algorithm


Details    Read Tutorial    Views: 366    Rate: 0 (1 votes)    Apr 22 2007 - 16:10

EnhancedImage Project


An article about how to enhance current image characteristics.


Details    Read Tutorial    Views: 344    Rate: 5 (1 votes)    Apr 22 2007 - 16:08

Article Four: Building a UI Platform in C# - Painting Text to the Pixel


GDI+: Getting control of MeasureString, DrawString and MeasureCharacterRanges.


Details    Read Tutorial    Views: 397    Rate: 0 (0 votes)    Apr 22 2007 - 16:07

ImageConverter - Converts images to a specific image format, changing sizes on the flow


ImageConverter allows images to be resized and written to a selected image format.


Details    Read Tutorial    Views: 521    Rate: 0 (0 votes)    Apr 22 2007 - 16:04

Tetris created with GDI+


Tetris created with GDI+


Details    Read Tutorial    Views: 564    Rate: 0 (0 votes)    Mar 10 2007 - 08:48

Random Image Generator


A small app to generate random images using various C# drawing functions.


Details    Read Tutorial    Views: 415    Rate: 0 (0 votes)    Mar 10 2007 - 08:40

Anti Flicker Graphics using Double Buffering and how to make simple graphic moves.


This example will show you how to use doublebuffering and hopefully allows you to make images move across your screen.


Details    Read Tutorial    Views: 615    Rate: 4 (1 votes)    Mar 10 2007 - 08:38

3D Bar Chart


Converting a 2D chart into a 3D chart


Details    Read Tutorial    Views: 564    Rate: 5 (1 votes)    Mar 10 2007 - 08:37

Spheres in GDI+


Drawing spheres on a Panel using conversion between pixel and logical metric units.


Details    Read Tutorial    Views: 590    Rate: 5 (1 votes)    Mar 10 2007 - 08:35

Save images into a multi-page TIFF file or add images to an existing TIFF file


Describes how to save images into a multi-page TIFF file and append images to an existing TIFF file by applying CCITT4 compression.


Details    Read Tutorial    Views: 310    Rate: 0 (0 votes)    Mar 10 2007 - 08:32

How to Load/Display images with C#


How to load/display images in a form in C#, explained with the code of a complete image viewer application


Details    Read Tutorial    Views: 666    Rate: 2 (1 votes)    Mar 10 2007 - 08:30

FlickerFree - Creating flicker-free graphics with GDI+


Sample code on how to create flicker-free graphics with GDI+.


Details    Read Tutorial    Views: 488    Rate: 0 (0 votes)    Mar 10 2007 - 08:29

A simple Windows Forms image viewer


This is a simple viewer application which allows you to apply basic operation on images such as Rotate, Flip, ROI (Region of interest) zoom and Panning.


Details    Read Tutorial    Views: 511    Rate: 0 (1 votes)    Mar 10 2007 - 08:28

Combining GDI and GDI+ to Draw Rubber Band Rectangles


Demonstrates drawng rubber band rectangles using GDI in a .NET GDI app


Details    Read Tutorial    Views: 613    Rate: 0 (0 votes)    Mar 10 2007 - 08:26

Fuzzy DropShadows in GDI+


Creating fuzzy drop shadows for GDI+ drawn objects.


Details    Read Tutorial    Views: 700    Rate: 0 (0 votes)    Mar 10 2007 - 08:03

Per Pixel Alpha Blend in C#


Demonstrates how to create per pixel alpha blending windows


Details    Read Tutorial    Views: 542    Rate: 0 (0 votes)    Mar 10 2007 - 08:02

ExoEngine - a C# 3D engine


A basic 3D engine built using C# and the .NET platform


Details    Read Tutorial    Views: 452    Rate: 0 (0 votes)    Mar 10 2007 - 07:59

Magic Image Generator


In this article, I describe how you can create an image that will change to another if it is selected in Internet Explorer.


Details    Read Tutorial    Views: 209    Rate: 0 (0 votes)    Mar 10 2007 - 07:56

Fading an Image Away


Fading an Image Away


Details    Read Tutorial    Views: 421    Rate: 0 (0 votes)    Mar 10 2007 - 07:52

Fluid Geometry - An Animation Library and Configuration Application


A task-oriented review of an animation library and the application which uses it.


Details    Read Tutorial    Views: 280    Rate: 0 (0 votes)    Mar 10 2007 - 07:50

Bypass Graphics.MeasureString limitations


This sample code computes the width of the string, as drawn by Graphics.DrawString


Details    Read Tutorial    Views: 323    Rate: 0 (0 votes)    Mar 10 2007 - 07:48

How to convert a TTF character to an 8bpp BMP file


This article describes how to convert a TTF file\'s character to BMP.


Details    Read Tutorial    Views: 297    Rate: 0 (0 votes)    Mar 10 2007 - 07:45

Custom AntiAliasing with GDI+


Alternate Antialiasing in GDI+


Details    Read Tutorial    Views: 427    Rate: 0 (0 votes)    Mar 10 2007 - 07:44

Flicker free drawing using GDI+ and C#


Describes how to implement flicker free drawing using C# and GDI+.


Details    Read Tutorial    Views: 373    Rate: 0 (0 votes)    Mar 10 2007 - 07:43

Extended Graphics - An implementation of Rounded Rectangle in C#


An implementation of Rounded Rectangle in C# which could be used to create XP-like buttons and rounded border.


Details    Read Tutorial    Views: 466    Rate: 0 (0 votes)    Mar 10 2007 - 07:43

Determining Ideal Text Color Based on Specified Background Color


A method for programatically determining the appropriate foreground color based on the specified background color


Details    Read Tutorial    Views: 230    Rate: 0 (0 votes)    Mar 10 2007 - 07:42

Sprite manipulation in C#


Basic sprite animation, clipping, z-ordering in C# using GDI+


Details    Read Tutorial    Views: 524    Rate: 0 (0 votes)    Mar 09 2007 - 16:07

Ray casting in a 2D tile-based environment


An article on ray casting in a 2D tile-based environment.


Details    Read Tutorial    Views: 346    Rate: 0 (0 votes)    Mar 09 2007 - 16:05

GenCode128 - A Code128 Barcode Generator


Create Code128 barcodes for WinForms or ASP.NET.


Details    Read Tutorial    Views: 332    Rate: 0 (0 votes)    Mar 09 2007 - 16:04

Image Processing for Dummies with C# and GDI+ Part 4 - Bilinear Filters and Resizing


The fourth installment covers how to write a filter that resizes an image, and uses bilinear filtering


Details    Read Tutorial    Views: 484    Rate: 0 (0 votes)    Mar 09 2007 - 16:03

Building a Simple Image Conversion Utility


This article describes a very easy approach to building an image conversion utility that will permit the user to open a supported image type and convert it to another supported image type.


Details    Read Tutorial    Views: 297    Rate: 0 (0 votes)    Mar 09 2007 - 16:02

.NET System Brushes Painter


Shows how to use different brushes and write owner drawn listbox


Details    Read Tutorial    Views: 296    Rate: 0 (0 votes)    Mar 09 2007 - 16:01

Blending of images, raster operations and basic color adjustments with GDI+


An article on blending of images using raster operations as well as simulating blending modes like those found in Photoshop.


Details    Read Tutorial    Views: 372    Rate: 0 (0 votes)    Mar 09 2007 - 16:00

Image Processing for Dummies with C# and GDI+ Part 1 - Per Pixel Filters


The first in a series of articles which will build an image processing library in C# and GDI+


Details    Read Tutorial    Views: 321    Rate: 0 (0 votes)    Mar 09 2007 - 16:00

Bitonal (TIFF) Image Converter for .NET


How to add bitonal image editing support to your appliactions.


Details    Read Tutorial    Views: 272    Rate: 0 (0 votes)    Mar 09 2007 - 15:59

Image Processing for Dummies with C# and GDI+ Part 3 - Edge Detection Filters


The third in a series of articles which will build an image processing library in C# and GDI+


Details    Read Tutorial    Views: 293    Rate: 0 (0 votes)    Mar 09 2007 - 15:58

Image Processing for Dummies with C# and GDI+ Part 2 - Convolution Filters


The second in a series of articles which will build an image processing library in C# and GDI+.


Details    Read Tutorial    Views: 271    Rate: 0 (0 votes)    Mar 09 2007 - 15:58

DIB to System.Bitmap


An article on DIB to Bitmap conversion.


Details    Read Tutorial    Views: 348    Rate: 0 (0 votes)    Mar 09 2007 - 15:47

Image Processing for Dummies with C# and GDI+ Part 5 - Displacement filters, including swirl


In the fifth installment, we build a framework for generating filters that work by changing a pixel\'s location, rather than colour.


Details    Read Tutorial    Views: 267    Rate: 0 (0 votes)    Mar 09 2007 - 15:46

Flood Fill Algorithms in C# and GDI+


Discusses and demonstrates flood fill algorithms in C# with GDI+.


Details    Read Tutorial    Views: 580    Rate: 0 (0 votes)    Mar 09 2007 - 15:46

Transparency Tutorial with C# - Part 1


An article on alpha blending and transparency


Details    Read Tutorial    Views: 3    Rate: 0 (0 votes)    Mar 09 2007 - 15:43

Transparency Tutorial with C# - Part 2


An article on Compositing, ColorMatrix, and ImageAttributes


Details    Read Tutorial    Views: 4    Rate: 0 (0 votes)    Mar 09 2007 - 15:37

Josh The Egg and The Return of the Shadows


Shadow: a program to add drop shadows to images.


Details    Read Tutorial    Views: 275    Rate: 0 (0 votes)    Mar 09 2007 - 15:34

The Aqualizer Strikes Back!


The Aqualizer: a program to create aqua buttons.


Details    Read Tutorial    Views: 274    Rate: 0 (0 votes)    Mar 09 2007 - 15:34

Image Processing for Dummies with C# and GDI+ Part 6 - The HSL color space


A discussion of the HSL color space, including code for a color picker and image filters


Details    Read Tutorial    Views: 276    Rate: 0 (0 votes)    Mar 09 2007 - 15:33

Transparency Tutorial with C# - Part 3


An article on Compositing, ColorMatrix, and ImageAttributes


Details    Read Tutorial    Views: 3    Rate: 0 (0 votes)    Mar 09 2007 - 15:32

2D Polygon Collision Detection


An article on polygon collision detection. Can be used to implement collision between sprites in a 2D game. The algorithm can also be extended to 3D.


Details    Read Tutorial    Views: 391    Rate: 0 (1 votes)    Mar 09 2007 - 15:31

Image Processing Lab in C#


A tool and library for image processing.


Details    Read Tutorial    Views: 314    Rate: 0 (0 votes)    Mar 09 2007 - 15:30

A 3D Plotting Library in C#


A library which draws 3D images on any GDI+ Graphics object.


Details    Read Tutorial    Views: 395    Rate: 0 (0 votes)    Mar 09 2007 - 15:27

Using Dynamic Graphics in C#


An article on the practical uses of dynamic graphics


Details    Read Tutorial    Views: 430    Rate: 5 (1 votes)    Feb 23 2007 - 11:35

A Resizable Analog Clock in C# using GDI+ & Windows Forms


An analog clock using anti-aliasing & double-buffering which can be resized, even into elliptical shapes.


Details    Read Tutorial    Views: 527    Rate: 5 (1 votes)    Feb 08 2007 - 07:03

Creating a non rectangular form using GDI+


This article descibes ways to creating a non rectangular form using GDI+.


Details    Read Tutorial    Views: 387    Rate: 0 (0 votes)    Feb 07 2007 - 18:28

A Tetris Clone using GDI+


An article on creating a tetris like game using object-oriented analysis and GDI+.


Details    Read Tutorial    Views: 289    Rate: 0 (0 votes)    Feb 05 2007 - 15:53

Creating a professional looking GDI+ drawn custom control


Shows how to create a custom scrolling label control with GDI+ and proper double buffering


Details    Read Tutorial    Views: 447    Rate: 0 (0 votes)    Feb 04 2007 - 11:42

Image Resizing - outperform GDI+


This article discusses a little weakness in GDI+ filters and shows a class for top-quality image resizing.


Details    Read Tutorial    Views: 482    Rate: 0 (0 votes)    Jan 30 2007 - 18:47

How to print text in C#


How printing works in Multipad, a Notepad clone.


Details    Read Tutorial    Views: 483    Rate: 0 (0 votes)    Jan 30 2007 - 18:46

Drawing with C#


A tutorial with examples of how to draw different things on a form using OnPaint.


Details    Read Tutorial    Views: 759    Rate: 1 (1 votes)    Jan 30 2007 - 18:45

Drawing UPC-A Barcodes with C#


Demonstrates a method to draw UPC-A barcodes using C#.


Details    Read Tutorial    Views: 333    Rate: 0 (0 votes)    Jan 30 2007 - 18:44

Convert PDF to Raster Images in .NET


This tutorials demonstrates how to use the PDFRasterizer.NET control to convert PDF to raster images, to display PDF in your Windows application and to silently print PDF documents.


Details    Read Tutorial    Views: 365    Rate: 0 (1 votes)    Jan 30 2007 - 18:42

Convert a Multipage TIFF to PDF in C#


This article shows you how to create a PDF document from a multipage TIFF document in C#.


Details    Read Tutorial    Views: 328    Rate: 0 (0 votes)    Jan 30 2007 - 18:40

ASCII art with C#


A tutorial about writing an image to ASCII converter.


Details    Read Tutorial    Views: 326    Rate: 0 (1 votes)    Jan 30 2007 - 18:40

System.Drawing with C#


The System.Drawing namespace, which contains types that help you with drawing, plays an important role in Windows programming. You need its members to draw a custom control user interface and for sending text and graphics to a printer. Even when you are only using standard controls on your form, you have used some of its members, probably without realizing it. Understanding the System.Drawing namespace enables you to write better -- and probably faster -- code. Here is a 10-minute crash course to familiarize you with it


Details    Read Tutorial    Views: 474    Rate: 2 (1 votes)    Jan 24 2007 - 13:41

Graphics Programming in C#


Like Java, C# provides us with a rich set of classes, methods and events for developing applications with graphical capabilities. Since there is not much theory involved, we can straight away jump to an interesting example (Listing - 1), which prints \"Welcome to C#\" on a form.


Details    Read Tutorial    Views: 519    Rate: 0 (0 votes)    Jan 24 2007 - 13:39

Drawing in 3D: Plotting Points.


Covers the basics of how to plot three dimensional points onto a two dimensional representation.


Details    Read Tutorial    Views: 465    Rate: 0 (0 votes)    Jan 24 2007 - 13:38

Color to Greyscale Conversion


Describes a few of the methods for conversion and transformation available to convert an image from RGB Color to Greyscale.


Details    Read Tutorial    Views: 331    Rate: 5 (1 votes)    Jan 24 2007 - 13:37

C# Scale an Image Keeping the aspect ratio


Nowdays everybody owns a digital camera with a high resolution, so when our application has to handle photos (e.g.: we want to keep an small identity card photo), the user use to send a 3 mega pixels high quality one, ... and most of the times users don\'t know how to make them smaller or they don\'t want to bother about that. What can we do ? Just let .net scale the image (keeping the aspect ratio), so we can show it and save it to disk with the desired resolution


Details    Read Tutorial    Views: 491    Rate: 4 (1 votes)    Jan 24 2007 - 13:36

Matrix Transformation of Images in C#, using .NET GDI+


Use of GDI+ Matrix class to perform image transformation.


Details    Read Tutorial    Views: 588    Rate: 0 (0 votes)    Jan 22 2007 - 14:21

Creating a Watermarked Photograph with GDI+ for .NET


This article describes the process of overlaying a Watermark image on top of a photograph using GDI+ and C# for .NET


Details    Read Tutorial    Views: 462    Rate: 0 (0 votes)    Jan 22 2007 - 14:19

A Page Turn Effect Using C#


This article demonstrates how to use GDI+ to create a page turn effect.


Details    Read Tutorial    Views: 442    Rate: 5 (1 votes)    Jan 22 2007 - 14:16

GDI+ Tutorial for Beginners


GDI+ is next evolution of GDI. In Visual Studio .NET, Microsoft has taken care of most of the GDI problems and have made it easy to use. The first class we must discuss is the Graphics class. After the Graphics class, I will discuss other useful GDI+ classes and structures such as Pen, Brush, and Rectangle. The final part of this tutorial are some examples in C#.


Details    Read Tutorial    Views: 24    Rate: 0 (0 votes)    Jan 17 2007 - 18:15

Antialiasing / Smoothing


Learn how to apply antialiasing on shapes using GDI+. Uses SmoothingMode and PixelOffsetMode enumerations.


Details    Read Tutorial    Views: 436    Rate: 0 (0 votes)    Jan 17 2007 - 18:13

Convert PDF to Raster Images in .NET (CodeBeach)


This tutorials demonstrates how to use the pdfRasterizer.NET control to convert pdf to raster images, to display pdf in your Windows application and to silently print pdf documents.


Details    Read Tutorial    Views: 925    Rate: 5 (1 votes)    Dec 03 2005 - 02:49

3D Pie Chart


A utility class / class library that could be used for drawing 3D pie charts.


Details    Read Tutorial    Views: 1539    Rate: 0 (0 votes)    Nov 05 2005 - 14:00

The Snake game in C#


This is a Snake game written using C# 2.0 and GDI+. To run this application, you must have .NET Framework 2.0.


Details    Read Tutorial    Views: 3167    Rate: 1.16667 (3 votes)    Jun 21 2005 - 16:11

Transparency Tutorial with C# - Part 3


Continuation of an article on Compositing, ColorMatrix, and ImageAttributes.


Details    Read Tutorial    Views: 0    Rate: 0 (0 votes)    Jun 21 2005 - 15:57

Transparency Tutorial with C# - Part 2


An article on Compositing, ColorMatrix, and ImageAttributes.


Details    Read Tutorial    Views: 0    Rate: 0 (0 votes)    Jun 21 2005 - 15:56

Transparency Tutorial with C# - Part 1


An article on alpha blending and transparency, and the creation of a color-maker.


Details    Read Tutorial    Views: 0    Rate: 0 (0 votes)    Jun 21 2005 - 15:55

Creating Bitmap Regions for Forms and Buttons


This article describes on how to create bitmap regions for WinForms and buttons.


Details    Read Tutorial    Views: 1144    Rate: 5 (1 votes)    Jul 11 2004 - 14:23

3D Pie Chart Recommended


Class library for drawing 3D pie charts by Julijan Sribar.


Details    Read Tutorial    Views: 1274    Rate: 0 (0 votes)    Jul 11 2004 - 14:22

Fractal Snow


Describes how to draw snowflakes using fractals and contains a nice snow screensaver.


Details    Read Tutorial    Views: 998    Rate: 0 (0 votes)    Jul 11 2004 - 14:20

Free Maps from the Web Using Web Mapping Service Recommended


Overview of using the OpenGIS Web Mapping Service to retrieve maps from the web.


Details    Read Tutorial    Views: 900    Rate: 0 (0 votes)    Jul 11 2004 - 14:20

The Art of Noise


An image synthesis algorithm using noise and interpolation.


Details    Read Tutorial    Views: 796    Rate: 0 (1 votes)    Jul 11 2004 - 14:18

Image Rotation in .NET Recommended


Rotates an image without having to worry about cropping the edges.


Details    Read Tutorial    Views: 2323    Rate: 0 (1 votes)    Jul 11 2004 - 14:17

Image Capture


Capturing an image of the desktop or its work area, of a control or its client area, of what's underneath a control or its client area and converting images from one format to another and converting an image to usable icon.


Details    Read Tutorial    Views: 1074    Rate: 1 (1 votes)    Jul 11 2004 - 14:15

Creating a Watermarked Photograph with GDI+ for .NET Recommended


This article describes the process of overlaying a Watermark image on top of a photograph using GDI+ and C# for .NET.


Details    Read Tutorial    Views: 1223    Rate: 0 (0 votes)    Jul 11 2004 - 14:10

Resizing a Photographic image with GDI+ for .NET


This article describes the various techniques used to resize a photographic image with GDI+ and C#+ for .NET.


Details    Read Tutorial    Views: 1191    Rate: 0 (0 votes)    Jul 11 2004 - 14:09

Thumbnail Generator - An easy way to process thumbnails from a large amount of images


Thumbnail Generator application supporting a bunch of image file types (for both: source images and target thumbnails), fixed target image size as well as ratio calculation, and full internationalization.


Details    Read Tutorial    Views: 1074    Rate: 0 (0 votes)    Jul 11 2004 - 14:05

A flexible line graph class library in C# Recommended


Looking for a way to draw 2D line graphs with C#? Here's yet another charting class library with a high degree of configurability that is also easy to use.


Details    Read Tutorial    Views: 2022    Rate: 0 (0 votes)    Jul 11 2004 - 13:52

Significance of Transformation Order


The attached source code is a stop watch written using C# and GDI+.


Details    Read Tutorial    Views: 705    Rate: 0 (0 votes)    Jul 09 2004 - 18:45

Text Transformation


This article shows you how to use GDI+ classes defined in the .NET Framework class library to apply transformations on text.


Details    Read Tutorial    Views: 898    Rate: 0 (0 votes)    Jul 09 2004 - 18:44

Color Transformation and the Color Matrix


This article discusses the color transformations and how to apply Color Matrix on image colors to provide various effects such as gray scale effects, reduce or increase the contrast, brightness, or redness of an image.


Details    Read Tutorial    Views: 1403    Rate: 0 (0 votes)    Jul 09 2004 - 18:44

Image Transformation


Image transformation is exactly the same as any other transformation process. In this section we will see how to rotate, scale, translate, reflect, and shear images.


Details    Read Tutorial    Views: 1220    Rate: 0 (0 votes)    Jul 09 2004 - 18:42

The Matrix Class and Transformation Recommended


Matrices play a vital role in the transformation process. In GDI+, the Matrix class represents a 3×2 matrix that contains x, y, and w values in the first, second, and third columns, respectively.


Details    Read Tutorial    Views: 1096    Rate: 0 (1 votes)    Jul 09 2004 - 18:40

Introduction to GDI+ Transformations Recommended


A transformation is a process that changes graphics objects from one state to another. Rotation, scaling, reflection, translation, and shearing are some examples of transformation.


Details    Read Tutorial    Views: 1286    Rate: 0 (1 votes)    Jul 09 2004 - 18:39

Math Graph in C#


This article and the sample code shows you to draw and print a math graph using GDI+ and C#.


Details    Read Tutorial    Views: 1690    Rate: 3 (1 votes)    Jul 09 2004 - 18:38

A Simple Virtual Voltmeter using GDI+ and the GP-3 Board


This is a less complex, nevertheless interesting example of how to use the same board to create a simple voltmeter.


Details    Read Tutorial    Views: 886    Rate: 0 (0 votes)    Jul 08 2004 - 23:54

Creating Word Find Puzzles in C# and GDI+


How to make puzzles with hidden words contained in a matrix of letters.


Details    Read Tutorial    Views: 735    Rate: 0 (0 votes)    Jul 08 2004 - 23:52

Virtual Clock in C# and GDI+ Recommended


This article describes how to create a virtual clock in C#. The hands of the clock are drawn using GraphicPaths.


Details    Read Tutorial    Views: 1114    Rate: 0 (0 votes)    Jul 08 2004 - 23:46

HTTP Handlers for Images in ASP.NET


Have you ever thought of streaming thumbnails just by passing query string indicating width or height of thumbnail you need, and most importantly passing those to image itself?


Details    Read Tutorial    Views: 745    Rate: 0 (0 votes)    Jul 08 2004 - 23:45

Trackbar/Progress Bar with Cylinder Effect


Trackbars and scrollbars are convenient ways of displaying a data range. The trackbars and scrollbars that ship with Visual Studio .NET, however, are a little lacking in aesthetics. We at Mycos set out to develop a high-performance dynamic trackbar that tool advantage of the GDI+ api and some of our existing drawing utilities.


Details    Read Tutorial    Views: 1536    Rate: 0 (0 votes)    Jul 08 2004 - 23:42

Making Thumbnails of Transparent Images in .NET and C#


When I started writing web applications using .NET, I found myself in need to dynamically create thumbnails of images that could be uploaded by the user or pulled from a database.


Details    Read Tutorial    Views: 941    Rate: 0 (0 votes)    Jul 08 2004 - 23:39

Ray Tracking in C# and .NET


This article shows you how to implement ray tracing in C# and .NET.


Details    Read Tutorial    Views: 884    Rate: 0 (0 votes)    Jul 08 2004 - 23:14

Spiro Designer


Spiro designer is a partial implementation of Spirograph. Spiro Designer uses the Matrix and GraphicsPath classes with their Transform and Rotate methods to build a spiro.


Details    Read Tutorial    Views: 789    Rate: 0 (0 votes)    Jul 08 2004 - 23:10

Hex Colors in C#


Currently I am developing a shareware application for generating image galleries for the web.


Details    Read Tutorial    Views: 792    Rate: 0 (0 votes)    Jul 08 2004 - 23:08

Viewing Multiple Images


I'm writing this article in response to a question on discussion forums, How do I view multiple files on top of each other?


Details    Read Tutorial    Views: 654    Rate: 0 (0 votes)    Jul 08 2004 - 21:17

Drawing Transparent Images and Shapes using Alpha Blending


This article shows you how to draw transparent images and shapes.


Details    Read Tutorial    Views: 1064    Rate: 4 (1 votes)    Jul 08 2004 - 21:16

Screen Capture Utility in C# and .NET


After I created my article on Form Capture, I seemed to get quite a few inquiries on how to do a more useful function using .NET: Screen Capture. It turns out that screen capture is done in a much similar fashion.


Details    Read Tutorial    Views: 918    Rate: 0 (0 votes)    Jul 08 2004 - 21:15

A Wheel Control in C#


This article describes a simple Windows control written in C# that simulates a wheel knob like that on your walkman used to change volume. The control is drawn using animation technique.


Details    Read Tutorial    Views: 1014    Rate: 0 (0 votes)    Jul 08 2004 - 20:51

Rotating a 3D Cube and Sphere with GDI+


This program shows you how to draw a sphere or a cube and rotate it different speed and different axis.


Details    Read Tutorial    Views: 1963    Rate: 0 (1 votes)    Jul 08 2004 - 20:51

Creating your own cool Volume Control using GDI+


In this article, I'll give you an example of creating your own control.


Details    Read Tutorial    Views: 815    Rate: 0 (0 votes)    Jul 08 2004 - 20:49

Playing with 3-D Coordinates Space in C#, GDI+ and .NET Recommended


As I was trying to think of an article to write on GDI+, I started looking through some of my old programming books and came across Tricks of the Game Programming Guru.


Details    Read Tutorial    Views: 1165    Rate: 0 (1 votes)    Jul 08 2004 - 20:48

Creating Exploded Pie Chart Having Click Through Functionality


In this article I would like to show you code that would create exploded pie chart and implementing click through functionality to that chart.


Details    Read Tutorial    Views: 712    Rate: 0 (0 votes)    Jul 08 2004 - 20:47

CartWheel Man - Animating GraphicPaths


This simple application illustrates how GraphicsPaths can be animated to look like something is moving across the screen.


Details    Read Tutorial    Views: 770    Rate: 0 (0 votes)    Jul 08 2004 - 20:21

Charting in GDI+


Here is an example of creating simple charts using GDI+ commands in C#. I have used the random class to create 5 random percentage values. I then use GDI+ to plot these values on a chart.


Details    Read Tutorial    Views: 1024    Rate: 0 (0 votes)    Jul 08 2004 - 20:20

Keeping score with LED Counter


Every good game needs to display your record breaking score. Before I embark on writing the next killer game in C#...


Details    Read Tutorial    Views: 727    Rate: 0 (0 votes)    Jul 08 2004 - 20:19

Screen Capturing in Form in .NET - using GDI in GDI+


In most cases, GDI+ speeds up your programming of Graphics because (1) It is not a thin veneer over the Windows SDK (2) It makes sense. However, whenever you lose granularity to create a simpler to use architecture, you tend to lose some functionality.


Details    Read Tutorial    Views: 743    Rate: 0 (0 votes)    Jul 08 2004 - 20:19

Adding Copyright to a Graphics


With the popularity of digital cameras and the increase of digital archive web sites allowing you to buy images to use its handy to be able to add a copyright to your image. However you don’t want to just write the word copyright across your image do you? No, in the world of .Net something cleverer is needed.


Details    Read Tutorial    Views: 730    Rate: 0 (0 votes)    Jul 08 2004 - 20:17

Scrollable Picture Box


This project contains a UserControl that allows you to place an Image inside and scroll around the Image.


Details    Read Tutorial    Views: 943    Rate: 0 (0 votes)    Jul 08 2004 - 19:56

Printing out your W2 Form using C# and .NET Recommended


This article covers a fairly practical aspect of using a computer - dealing with forms.


Details    Read Tutorial    Views: 673    Rate: 0 (0 votes)    Jul 08 2004 - 19:53

Working with GDI+ Pens and Fonts


The System.Drawinging.Pen and System.Drawing.Font classes represent pen and font objects in GDI+.


Details    Read Tutorial    Views: 840    Rate: 0 (0 votes)    Jul 08 2004 - 19:52

Graphics Animation Sample


After finishing a text program (lottery) its time for some fun. Everytime a have to work with a new language.I write a small program to bounce some balls in a box.


Details    Read Tutorial    Views: 956    Rate: 0 (0 votes)    Jul 07 2004 - 22:43

Using Transforms with GDI+ in C#


Transforms are matrices that allow you to rotateand translate your graphics shapes. In this example we are going to rotate a very powerful element in C# called the GraphicsPath.


Details    Read Tutorial    Views: 1002    Rate: 0 (0 votes)    Jul 07 2004 - 22:42

An Animation Component using C#


Sometimes its desirable to get those graphics moving a bit and this control should help you do just that.


Details    Read Tutorial    Views: 1024    Rate: 3 (1 votes)    Jul 07 2004 - 22:41

Business Card Designer Using C#


For those of you that don't want to go out and buy a fancy business card utility, this may prove to be just the trick for designing easy colorful business cards.


Details    Read Tutorial    Views: 720    Rate: 0 (0 votes)    Jul 07 2004 - 22:35

A graphics component in C# Recommended


One of the wonderful features in C# is it is finally easy to create components...


Details    Read Tutorial    Views: 1158    Rate: 0 (0 votes)    Jul 07 2004 - 22:31

Paint Brush in C#


Attached project is a paintbrush like application which let you draw graphics object... all in C#


Details    Read Tutorial    Views: 2787    Rate: 5 (1 votes)    Jul 07 2004 - 22:30

Graphics using GDI+


This sample project shows how to draw various graphics objects on a Form using GDI+ objects...


Details    Read Tutorial    Views: 1122    Rate: 5 (1 votes)    Jul 07 2004 - 22:27

Scrollable Picture Box


This project contains a UserControl that allows you to place an Image inside and scroll around the Image.


Details    Read Tutorial    Views: 885    Rate: 1 (1 votes)    Jul 07 2004 - 22:24