Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 


Home >Search > Articles & Samples > Visual Basic.Net > GDI+


Search:
What's New - What's Hot
ColorComboBox - ComboBox to pick colors from System.Color struct  Version: 0.00     Price: $0.00  
Total Hits: 33  |  Today: 0Author: Jean Paul      Rating:  
Read Reviews | Write Review |  Your Rating: 

In this short article, I am trying to create a ColorComboBox control which allows the user to select colors from System.Drawing.Color struct. From Mahesh Chand's color code snippet, I was inspired about the idea of listing color using reflection. So I thought it would be good if we can convert the code into a control....

Fill Methods in GDI+  Version: 0.00     Price: $0.00  
Total Hits: 24  |  Today: 0Author: Puran Mehra      Rating:  
Read Reviews | Write Review |  Your Rating: 

So far we have seen only the draw methods of the Graphics class. As we discussed earlier, pens are used to draw the outer boundary of graphics, shapes, and brushes are used to fill the interior of graphics shapes. In this section we will cover the Fill methods of the Graphics class. You can fill only certain graphics shapes; hence there are only a few Fill methods available in the Graphics class. Table 3.5 lists them....

Creating a Speech Balloon/Speech Bubble in GDI+  Version: 0.00     Price: $0.00  
Total Hits: 33  |  Today: 0Author: Clayton Rumley      Rating:  
Read Reviews | Write Review |  Your Rating: 

I was working on a Windows Forms project that required the user to be able to add speech balloons (also known as speech bubbles) on top of photographs or drawings. As I'm somewhat proficient with GDI+, I figured it wouldn't be too complicated; I'd either use a GraphicsPath or a Region. Ultimately, I wanted to draw the balloon, union it with a tail, fill the resulting shape, and draw its outline. I knew Region had a Union method, so I tried that one first. The union worked just fine, but while I ...

Creating Text Images On the Fly with GDI+  Version: 0.00     Price: $0.00  
Total Hits: 27  |  Today: 0Author: Ken Spencer      Rating:  
Read Reviews | Write Review |  Your Rating: 

I am building a Windows® Forms application and need to be able to create graphical text on the fly. Basically, I want to create an image, add text to it, then use the new image later in the app....

Drawing Shaped Forms and Windows Controls in GDI+  Version: 0.00     Price: $0.00  
Total Hits: 40  |  Today: 0Author: Dinesh Beniwal      Rating:  
Read Reviews | Write Review |  Your Rating: 

Normally, all Windows controls and forms are rectangular, but what if we want to draw them in nonrectangular shapes? We can do this by setting the Region property. The Region property of a form or a control represents that window's region, which is a collection of pixels within a form or control where the operating system permits drawing; no portion of a form that lies outside of the window region is displayed. To draw nonrectangular shapes, we trick the system into drawing only the region of a ...

Drawing a Pie Chart in GDI+  Version: 0.00     Price: $0.00  
Total Hits: 20  |  Today: 0Author: Dinesh Beniwal      Rating:  
Read Reviews | Write Review |  Your Rating: 

Now let's write an application using ASP.NET. We will provide both fill and draw options.

We create Forms application using Visual Studio .NET. We add some text and two buttons to the page. The final Web page looks like Figure 12.16. The Draw Chart button will draw a pie chart, and the Fill Chart button will fill the chart with different colors....

Drawing a Line Chart in GDI+  Version: 0.00     Price: $0.00  
Total Hits: 19  |  Today: 0Author: Dinesh Beniwal      Rating:  
Read Reviews | Write Review |  Your Rating: 

Charts are useful for representing numeric data in a graphical way. There are several different types o charts, including pie, line, and bar charts. In this section we will learn how to use GDI+ and ASP.NET to draw a line chart from data entered by a user.

A line chart is a set of continuous lines. In the example presented in this section, we will read the size of the chart and data points and draw a chart based on the points. Our discussion will first on the ChartComp component, and the...

Getting into the DetailsCustom Controlling and the Print Controller in GDI+  Version: 0.00     Price: $0.00  
Total Hits: 34  |  Today: 0Author: Dinesh Beniwal      Rating:  
Read Reviews | Write Review |  Your Rating: 

In this article I will explain about Custom Controlling and the Print Controller in GDI+.

Custom Controlling and the Print Controller in GDI+

At this point you must feel like a printer master and have the confidence you need to write a printing application. We have covered almost every aspect of printing in .NET, but guess what! There are still a few surprises hidden in System.Drawing.Printing. You will probably never use the classes that we're going to discuss in this section, but...

Transforming Text in GDI+  Version: 0.00     Price: $0.00  
Total Hits: 25  |  Today: 0Author: Dinesh Beniwal      Rating:  
Read Reviews | Write Review |  Your Rating: 

Transformation is a process of moving objects from one place to another by applying a series of operations such as scaling, rotation, and translation. In this section we will see how to transform text using the Graphics object....

The FormatFlags Property in GDI+  Version: 0.00     Price: $0.00  
Total Hits: 19  |  Today: 0Author: Dinesh Beniwal      Rating:  
Read Reviews | Write Review |  Your Rating: 

The FormatFlags property is useful when an application needs to draw text strings in different layouts- such as drawing vertical text. FormatFlags takes a value of the StringFormatFlags enumeration. Table 5.11 describes the members of the StringFormatFlags enumeration....

Transformation Types in GDI+  Version: 0.00     Price: $0.00  
Total Hits: 34  |  Today: 0Author: Puran Mehra      Rating:  
Read Reviews | Write Review |  Your Rating: 

Translation is a transformation of the xy plane that moves a graphics object towards or away from the origin of the surface in the x- or y-direction. For example, moving an object from point A (x1, y1) to point B (x2, y2) is a translation operation in which an object is being moved (y2 - y1) points in the y-direction....

Transformation in GDI+  Version: 0.00     Price: $0.00  
Total Hits: 39  |  Today: 0Author: Puran Mehra      Rating:  
Read Reviews | Write Review |  Your Rating: 

In this article we will explore GDI+ transformations. 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. Transformation can be applied not only to graphics shapes, curves, and images, but even to image colors....

Miscellaneous Advanced 2D Topics in GDI+  Version: 0.00     Price: $0.00  
Total Hits: 38  |  Today: 0Author: Puran Mehra      Rating:  
Read Reviews | Write Review |  Your Rating: 

So far in this article, we have covered line caps and line styles, graphics paths, graphics containers, graphics container states, color blending and alpha blending, and the use of linear and path gradient brushes. The System.Drawing.Advance2D namespace contains topics that don't fall into any of these categories. In this section we will cover a few of these topics:

* Region data
* The SmoothingMode enumeration
* The PixelOffsetMode enumeration...

Alpha Blending and Images in GDI+  Version: 0.00     Price: $0.00  
Total Hits: 33  |  Today: 0Author: Puran Mehra      Rating:  
Read Reviews | Write Review |  Your Rating: 

We often see a semitransparent date and place name on a photo. You can draw transparent graphics shapes on images using the same method: Create a graphics shape using semi- or non-opaque colors, and then draw on the image....

Working with Metafiles in GDI+  Version: 0.00     Price: $0.00  
Total Hits: 50  |  Today: 0Author: Puran Mehra      Rating:  
Read Reviews | Write Review |  Your Rating: 

Metafiles contain information about how an image was created - including lists of graphics operations - rather than storing the image in pixel format. Graphics operations in a metafile are stored as records, which can be controlled (recorded and played back) individually....

Advanced Imaging in GDI+  Version: 0.00     Price: $0.00  
Total Hits: 38  |  Today: 0Author: Puran Mehra      Rating:  
Read Reviews | Write Review |  Your Rating: 

We discussed the imaging functionality defined in the System.Drawing namespace. This article will cover the advanced imaging functionality defined in the System.Drawing.Imaging namespace. We will explore how to implement this functionality in our applications. The topic will include:

* Understanding LockBits and UnlockBits
* Working with metafiles and metafile enhancements
* Working with the color matrix, color map, and color palette
* Using the Encoder and Encode...

Attributes and Design-Time Support  Version: 0.00     Price: $0.00  
Total Hits: 41  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

Design-time support extensions are typically implemented in code that exists separately from the code for a component. A variety of attributes are used to associate design-time support providers with a type or an individual member of a type....

LineCap, DashCap, and DashStyle in GDI+  Version: 0.00     Price: $0.00  
Total Hits: 40  |  Today: 0Author: Puran Mehra      Rating:  
Read Reviews | Write Review |  Your Rating: 

Pens offer more options than what we have seen so far. A line's caps are the starting and ending points of the line. For example, you may have seen lines with arrows and circles. Figure 4.24 shows some lines with their cap and dash styles.

Using Pen properties and methods, you can draw lines with cap and dash styles. Here we will discuss line cap and line dash styles only briefly....

Introduction to the Specification Design Pattern     
Total Hits: 89  |  Today: 0Author: daltonr      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is the first in a four part series of articles on the Specification Design Pattern.

* Part 1 - An Introduction to the Specification Design Pattern
* Part 2 - A simple implementation of the pattern in VB.NET
* Part 3 - A Generic Specification with operator overloading
* Part 4 - Using the Generic Specification...

Design for Extensibility     
Total Hits: 118  |  Today: 0Author: Miguel A. Castro      Rating:  
Read Reviews | Write Review |  Your Rating: 

Today's customers demand easier-to-modify and more flexible applications than ever before. In this article, I will show you how to design applications with extensibility points so that they will grow with the clients' needs as well as provide a way to "swap" functionality in and out as needed....


1  2  3  4  5  6  7  8  9  10  Next >> 


Disclaimer - Privacy
© 2002-2017 DevASP.net