Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet drawing api > april 2008

Amazing image done by single line in 1884
Posted by gandoza at 4/28/2008 12:57:54 AM
I received this picture on the e-mail . Have been working on 1884 . This work was done only by single line, starting from the nose and ending the lower part, as shown on the image Of course, there are some final toutches. What do you think about this amazing art .... http://gandoza.google...more >>


Inverting
Posted by Magnus Nilsson at 4/25/2008 1:37:00 AM
Is there an easy way to draw inverted lines/rectangles/circles using System::Drawing::Graphics? I need this to draw outlines that are visible on top of any type of background image. Thanks in advance, Magnus...more >>

Displaying high-res images in .NET?
Posted by Usenet User at 4/24/2008 5:48:51 PM
..NET 1.1/2.0 I have a need to display high-resolution scrollable images in a .NET application (Windows Forms). One well known solution is to create a Panel with AutoScroll set to "true" and then add a PictureBox or another Panel to it, that is used to display the image. The above approach ...more >>

DrawDriverString EMF Record
Posted by elziko at 4/21/2008 4:07:02 PM
Hi, I am trying to use Graphics.EnumerateMetafile in order to inspect any DrawDriverString EMF records in a metafile and then change the string that is contained within the record before using Metafile.PlayRecord to draw the modified record. Unfortunately I have found no useful documenta...more >>

How many New Courier characters fit int 6.5 inches
Posted by AAaron123 at 4/18/2008 4:20:14 PM
What is the width of a New Courier 12 point letter? Or, how many such characters fit into 6.5 inches? Thanks in advance ...more >>

Text in Metafiles
Posted by elziko at 4/17/2008 4:01:41 PM
Is there any way I can execute some sort of search and replace on the text inside a metafile in code? For example, if I had an instance of a Metafile I;d like to serach through it looking for anu instances of the string "hello" and replace it with "goodbye" before drawing the metafile onto ...more >>

GC.Collect() not cleaning memory, how to find out what references to lots of memory still exist?
Posted by DR at 4/15/2008 2:03:45 PM
GC.Collect() not cleaning memory, how to find out what references to lots of memory still exist? When all my processign is done i set everything to null and then: GC.Collect(); and then GC.WaitForPendingFinalizers(); but it still shows that my process takes 400 MB of memory. Is there any ea...more >>

Problem rendering text with many colors
Posted by spamec@tlen.pl at 4/15/2008 4:53:00 AM
hi, I have some task with rendering text in winform and then printing it. For now my solution is: - store text with some tags in db (ex. Ron is great <t>friend</t>) - in app before rendering it I replace tags with appropriate html tags (ex. <font style="color:red"></font>) - put html in htmll...more >>



Retaining png transparency problem
Posted by Paul at 4/11/2008 4:30:16 PM
This code will display a transparent png image correctly: Bitmap bm = (Bitmap)Bitmap.FromFile(path); outerImage = bm; ultraPictureBox1.Image = outerImage; But if I do it as the next code shows, the transparency is lost. Why? Bitmap bm = (Bitmap)Bitmap.FromFile(path); outerImage = Bitmap....more >>

Bitmap + Clipboard + Transparency = Blue Background?
Posted by mcse3010 at 4/11/2008 9:20:07 AM
Hey folks, I think this is my first time asking a question here, so please go easy on me I have an application wherein I render a transparent bitmap (to be specific -- a chart with a transparent background).... When I do, I then try to copy it to the clipboard using: bmp.Save(filename)...more >>

PerformanceCounterCategory.Create() takes 3 minutes to add a new category!! How come? What can cause this?
Posted by DR at 4/10/2008 12:25:37 PM
PerformanceCounterCategory.Create() takes 3 minutes to add a new category!! How come? What can cause this? ...more >>

winforms drawing problem with labels and picturebox
Posted by Bill Woodruff at 4/9/2008 12:51:50 PM
..NET 2.0, VS Studio 2005 Enterprise, on Win XP Pro SP2 machine Hi, I have a form in my application that contains some labels and one picturebox. Running on my main development machine [win xp pro HP] (1280x768 22" LCD) the form looks right. The development machine has .NET 2.0 and VS 2...more >>

Maximum Bitmap size
Posted by usenet@tynemarch.co.uk at 4/9/2008 7:34:35 AM
When I use the following code in a web page it works fine until my Bitmap size gets to a certain size, e.g. 5214 x 3223. Then I get a red cross, but no run time error occurs. What is the maxmum size of the bitmap and how do I trap for the error? Code is here. The actual details of what is draw...more >>

Virtual Units in GDI+
Posted by Charlie Barr at 4/8/2008 2:05:01 AM
I am in the process of writing a viewport control, that will used to dispay musical notation. The geometry of the musical notation however is represented as virtual units, though I have an algoithm that can convert these virtual units to inches. In what way would I need to set up the PageUni...more >>

A generic error occurred in GDI+.
Posted by schneider at 4/7/2008 10:09:11 PM
Hello, I get this error when serializing a object. Specificly an bitmap in the object. This object is obtained from a different dll than the one serialized, could that be the problem? That seems to be the only difference... Any way to fix this? Thanks, Schneider below if the code and ...more >>


DevelopmentNow Blog