Groups | Blog | Home


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 > june 2005 > threads for june 8 - 14, 2005

Filter by week: 1 2 3 4 5

How do I turn off write combining programatically?
Posted by Garry Freemyer at 6/14/2005 3:56:24 PM
Using C# Visual Studio Net 2003, my screensaver comes up with this amityvillehorrorInvalidOperationException error "Object in use elsewhere", and I can't fix it! I read that a work around is to go to Display Properties/Settings/Advanced/Troubleshooting and change the settings there and it...more >>


Get Image properties without loading all the file
Posted by pierrev at 6/14/2005 7:51:04 AM
Hi, I want to get image properties (height, width, compression, etc) from TIFF files without creating/loading the whole image in a GDI+ Bitmap object. I have very large TIFF files and I don't want to load all the image only the properties. I was doing that before with the Activex ImgAdm...more >>

Moving a graphic on a picturebox
Posted by cmac89 at 6/14/2005 5:12:18 AM
I'm using the following code to draw a rectangle on a form and then move it to a new position by clicking the mouse. I would now like to do the same thing but within a picturebox. I've added the picturebox but the rectangle stops at the edge of the picturebox. I can't figure out how to change ...more >>

Have data to fill a triangular matrix, but how do I graph it???? - Please help
Posted by Nevets Steprock at 6/13/2005 12:00:00 AM
I'm writing a web program where one of the sections is supposed to output a correlation matrix. The typical correlation matrix looks like this: ..23 ..34 .54 ..76 .44 .28 ..02 .77 .80 .99 I've written code to calculate the correlation data and it is populated in a vect...more >>

how does scrollable controll works?
Posted by SharpCoderMP at 6/12/2005 10:45:14 AM
i'm writing a controll that displays list of thumbnail images. this thumbnails are generated from bitmap files. now let's assume that we have 100 images. inside the controll only 5 will fit. ok i applay sclroll bars and all works great. offcourse after i read files i store thumbnails in memor...more >>

Finally got my C# GDI+ Screensaver working multiple monitors!
Posted by Garry Freemyer at 6/11/2005 10:33:48 PM
It was quite a few weeks ago, when I related that I had written a screensaver in VS Net 2003 C# that was supposed to work on multiple monitors. I had issues with the primary display always hogging CPU cycles. Source is on codeproject.com in the url below. Turns out the fix was mainly these...more >>

DrawTrackerRect?
Posted by porko at 6/11/2005 6:29:01 PM
Anyone know of any code samples that show how to execute a tracking rectangle like DrawTrackerRect() in MFC used to do? I don't see any equivalent functionality in .NET, without rolling your own. ...more >>

Maximum Bitmap Size?
Posted by mike at 6/10/2005 8:11:03 AM
Hi, I am trying to create a bitmap using the (int,int) constructor. I am getting an invalid parameter exception when I pass in the following values Bitmap bm = new Bitmap(4050,40750); Is there a maximum size limit I am hitting when I try this? Thanks Jay...more >>



change part of bitmap
Posted by is_vlb50 NO[at]SPAM hotmail.com at 6/9/2005 12:35:18 AM
How to do next part in dot net: copy out the part of the bitmap within the rectangle, convert it to grayscale, and then copy it back. Thanks ...more >>

PrintDocument lines per page calculation
Posted by AMercer at 6/8/2005 2:33:09 PM
At the end of this note is a VB .NET sample of printing a text file. MS provided it in .NET help. It shows how to print lines of text all in the same font. The PrintPage event handler calculates the number of lines of text that can be printed as follows: linesPerPage = e.MarginBounds.He...more >>

getting around DrawImageUnscaled problem
Posted by Rachel Suddeth at 6/8/2005 11:33:22 AM
Earlier I had an issue where I tried to use DrawImageUnscaled, but it didn't work because apparently .NET does not understand the resolution of my images. So I got around this by always calling DrawImage with Source and Destination rectangles, and specifiying GraphicsUnit.Pixel. Now I've got a...more >>

make image transparent
Posted by jeff at 6/8/2005 8:50:33 AM
hi, All I have a control with a pic(gif), I want to make the pic is transparent. How to do it? Thanks ...more >>

Next Version of GDI+ (maybe GDI+ 2.0)
Posted by Benny at 6/8/2005 3:41:24 AM
Hello, does somebody know something new about the release of next Version of GDI+? My last hope was with the release of Visual Studio 2005 and .NET 2.0, but my testings yesterday with the Beta 2 showed the same slowness as before. Big mono TIF drawings with a size of more than 10.000x10.00...more >>

Freeimage
Posted by James Westgate at 6/8/2005 12:00:00 AM
Has anyone tried using this lib from .NET / c# and if so any impressions good or bad? http://freeimage.sourceforge.net/ Thanks, James ...more >>


DevelopmentNow Blog