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 > december 2003 > threads for december 29 - 31, 2003

Filter by week: 1 2 3 4 5

trouble creating an image from an array of bytes
Posted by NP at 12/31/2003 5:47:41 PM
I am trying to create an image from an array of bytes stored in a base64binary dataset field and I keep getting the same error: System argument exception. Invalid parameter used. The field definitely contains an image because it is obtained from an image file and placed into the database. The e...more >>

Learning to place graphics
Posted by Gary Morris at 12/30/2003 9:25:03 PM
Happy New Year! Just recently, I tried my hand at some GDI+, starting slowly, and I'm having some trouble now. I tried just a few drawings in a window, and some other stuff, which wasn't too hard, but now I'm wanting to create a program that will allow me to: 1) Select a button from a too...more >>

Loosing graphics reference
Posted by Crirus at 12/30/2003 6:16:26 PM
I have a bitmap and a graphics object wraped on it When I use MakeTransparent on the bitmap, the graphics object dont draw on it anymore.. I have to recreate the graphics from the bitmap. Anyone can explain this? Thank, Crirus ...more >>

GDI+ in a ASP.NET custom control
Posted by Gerben van Loon at 12/29/2003 8:30:35 PM
Hi, Hope someone can help me on this. I like to make an own ASP.NET charting control, so I need to render some graphics in a custom made control. I already found this example: protected override void Render(HtmlTextWriter output) { Bitmap objBitmap = new Bitmap(200,200); Graphics ...more >>

Jagged icons in VB.NET Imagelist? ARGH!
Posted by Moogy at 12/29/2003 6:23:33 PM
Every time I load a nice-looking Windows XP Icon into my VB.NET Imagelist, it turns out ugly and jagged around the edges. I believe this is from the Alpha pixels being mapped to mask pixels instead of keeping their alpha transparency value. The ImageList is 32bbp with a size of 16x16. So, ...more >>

Screen Grab of Application
Posted by James Hancock at 12/29/2003 4:53:26 PM
How would I go about getting a screen grab of my entire application (it's parent form) programatically without using the Clipboard? Thanks! James Hancock ...more >>

Graphics and Sockets
Posted by Sueffel at 12/29/2003 4:29:38 PM
T2theSwgdGhpcyBpcyBraW5kYSBhIHNvY2tldHMgaXNzdWUgSSdtIHN1cmUsIGJ1dCBpdCBvbmx5 IGhhcyBwcm9ibGVtcyB3aXRoIGdyYXBoaWNzLiAgQmFzaWNhbGx5LCBJJ20gYnVpbGRpbmcgYSBw cm94eSBzZXJ2ZXIsIGFuZCBldmVyeXRoaW5nIHBhc3NlcyB0aHJvdWdoIGV4Y2VwdCBncmFwaGlj cy4gIEknbSBiZWluZyByZXR1cm5lZCB0aGUgc3RhbmRhcmQgQnl0ZSBhcnJheSwgYW...more >>

How do you increase the nonclient area to support a border in a UserControl
Posted by Paul at 12/29/2003 4:01:15 PM
I am mainly learning and wanted to develop a simple control - like the panel control, but want to make custom borders. Now the easy way is to simply use the controlpaint.drawborder, but this draws in the user area and not the non-client area, thus not giving the same effect as Microsofts panel cont...more >>



Wrap a GraphicsPath around a square draw area
Posted by Crirus at 12/29/2003 10:49:59 AM
Hello I have a square area to draw on... I have a GraphicsPath that define the region of clipping so the draw occur only on that region The region is one or more circles The problem I'm facing with is drawing a wraped region... I can have one circle falling outside one side of the drawing su...more >>

Unespected behaviour of graphicsPath
Posted by Crirus at 12/29/2003 10:33:28 AM
Hi! I just made a test on graphicsPath I added 3 circles to a GraphicsPath and filled with one color into a panel paint event.. What I noticed is that the overlapped part of 2 circles is not filled as it is not inside the path... How can I add multiple closed figures as circles to a GP a...more >>

Wrong alignment print printdocument
Posted by Frederik Vanderhaegen at 12/29/2003 10:07:32 AM
Hi, Does anyone knows how to fix following problem: I've created a printpreview with the printpreview control. This looks perfect but the printresult is different from the preview. I tested the program with a HP Deskjet 895CXI (win xp) and a HP Laserjet 4L (win2k) and on those two printer...more >>

How to spell the word 'GIF', 'gif' or 'jif' ?
Posted by Shao Yong at 12/29/2003 9:25:33 AM

DrawImage Strange srcRect
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 12/29/2003 7:31:31 AM
Hi, It seems that nobody talk about this problem before. So it may be a problem of mine. When I use the void Graphics.DrawImage(Image image, Rectangle destRect, Rectangle srcRect, GraphicsUnit srcUnit ); if the size of the srcRect is different from the destRect I must reduce ...more >>


DevelopmentNow Blog