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 > march 2005 > threads for march 29 - 31, 2005

Filter by week: 1 2 3 4 5

Print to client printer from web application
Posted by Patsy at 3/31/2005 8:45:02 PM
Hi I'm trying to send an image file on the server to print from client default printer. I see that System.Drawing.Printing has a PrintDocument control. Can this control be used to attain my purpose? Or is there an alternative to achieve my aim? -- Regards Patsy...more >>


Capturing a frame using the Windows Media Player control
Posted by FinallyInSeattle at 3/31/2005 2:22:52 PM
I'm using a Windows Media Player control in a Windows Form. I've been able to capture the currently displayed frame by using a BitBlt operation. What I'm looking to do now is to set the uiMode to Full so that I get the WMP's buttons and sliders to appear. If stretchToFit is set to false, th...more >>

Generic error in GDI+ when trying to preview more than 200000 line
Posted by DavisLG at 3/31/2005 1:45:06 PM
With the code below, I get either a generic error in GDI+ or an out of memory error when trying to preview a report, using the .NET PrintDocument. This error usually shows up around page 4913 at roughly 275,000 lines or so. I'm attempting to print 58 lines per page. When printing (to a pdf p...more >>

bitmap in PixelFormat32bppARGB
Posted by Owen at 3/31/2005 12:28:11 PM
hello: I have a bitmap saved in photoshop with 32 bit and alpha information but when load the bitmap with Bitmap class the result of PixelFormat function always return PixelFormat32bppRGB instead PixelFormat32bppARGB, why this happend and who can I get the alpha informatio of this bitmap to dr...more >>

Add GraphicsPath to GraphicsPath
Posted by Peder Y at 3/31/2005 3:43:35 AM
Is it possible to add a GraphicsPath to an existing GraphicsPath? I have several lines Widen()'ed by different pens. I want to add them all to the same GraphicsPath. Or do I have to store an inidividual GraphicsPath for every line segment I create? I fear this might take up a lot of resour...more >>

How can I do Window Forms of Windows Media Player standerd?
Posted by glich via DotNetMonster.com at 3/30/2005 6:27:21 PM
I liked the look of the Window Media Player form. I have no idea on how to begin to create forms like that, though I have done basic forms. Could you give me a web site on this topic? thx! -- Message posted via http://www.dotnetmonster.com...more >>

combining multi-tiffs into one image for the web
Posted by Whit Pitcher via .NET 247 at 3/30/2005 8:19:41 AM
How do i extract all images from a multi-tiff image object and= combine them into one image object using ASP=2ENet? The target= object would be a normal or non-multi-tiff image at this point=2E = My code works to the point of getting the tiff from a database,= looping through and pulling ou...more >>

Invalid parameter used when using CompressionCCITT4
Posted by Edward at 3/30/2005 4:19:03 AM
Hi, Compressing a tiff-image from file using the following code is working fine: ImageCodecInfo myCodecInfo = GetCodecInfo("image/tiff"); Bitmap objImage = new Bitmap(drRow[FieldName].ToString().Trim()); EncoderParameters CodecParams = new EncoderParameters(1); CodecParams .Param[0] = n...more >>



2 Newbie Questions
Posted by damiensawyer NO[at]SPAM yahoo.com.au at 3/29/2005 11:03:39 PM
Hi, I'm trying to draw a border around my form that redraws on form resize. Can someone please tell me 1/ How do I find the 'internal' dimensions of the form? I wish to draw it around the usable area of the form. The rectangle below is not centred. 2/ How do I repaint the form on resize t...more >>

Saving in Vector Format (.EMF)
Posted by John Buchmann at 3/29/2005 4:17:58 AM
Can anyone give me a hint how I can save a drawing as an EMF (Vector) file. The following simple example gives an error. If I create the drawing tru a Bitmap object then it saves the file but as a rasterized image (not vector). Any help is appreciated: Dim g As Graphics Di...more >>

Bug in GDI whit Zoom and Antialias
Posted by Davide Rocchelli [ITA] at 3/29/2005 12:07:01 AM
I have found a probable bug when you draw with GDI. Look this simple code '*************************** Private WithEvents tmr As Timer Private Sub Form1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint Const Zoom As Sing...more >>


DevelopmentNow Blog