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 > october 2003 > threads for october 8 - 14, 2003

Filter by week: 1 2 3 4 5

Region.GetRegionScans error margins?
Posted by Tim Bain at 10/14/2003 11:35:32 AM
The documentation for the Region.GetRegionScans method says that it "Returns an array of RectangleF structures that approximate this Region object." No specifics are given, however, about the accuracy to which those rectangles approximate the region. Is there a way to determine the poten...more >>


Convert Image to Hexadecimal string
Posted by Suresh at 10/14/2003 11:05:24 AM
Hi all, I need to place an image inside an RTF document. Accepted formats in RTF are Hexadecimal or Binary. I have a series of gif/jpeg images that i need to convert into hexadecimal or binary in order to insert it into the RTF document. Any help in converting an Image to Hexadecimal or ...more >>

What is the default tension for a Curve (cardinal spline)?
Posted by Frank Hileman at 10/14/2003 10:31:31 AM
There are functions that draw cardinal splines, or add them to a path, but nowhere can I find documented the default value for tension. Anyone? thanks, Frank Hileman ...more >>

Layer mask - posted again
Posted by Crirus at 10/14/2003 9:02:32 AM
Hello there I need a simple routine that take 2 pictures and a greyscale mask and output a new bitmap with images rendered as photoshop does...with alpha values, so everything black will be transparent, any greys will be less transparent, and everything on the mask that is white will be opaque...more >>

Hebrew scripts GDI+
Posted by Andrew Moore at 10/13/2003 7:46:38 PM
I have an application that reads in text from a file and displays it in a drawing surface. The text is in Hebrew, but when I display it the Hebrew script does not appear even after setting the script in the Font Dialog. The GdiCharset is set to 177. I call g.DrawString(text, font, brush, rect)...more >>

using images from resx file
Posted by Crirus at 10/13/2003 4:12:26 PM
I have a small application that I use to add manually images to a resx file. When I use a resourceManager to retrive it at run time, I got zoomed images and cropped at the same size as original...but hte right and botom sides are missing... Anyone had the same strange bug? Regards, Crirus ...more >>

Viewport origin
Posted by Andrew Moore at 10/13/2003 4:09:19 PM
Hi, I am building a design surface for "dashboard" like controls consisting of counters, clocks, plots, etc. in C# using GDI+. I am trying to set the viewport origin to the center point of the screen instead of the top left so that the zoom in/out zooms objects to the center point of the sc...more >>

How to draw rotated text?
Posted by faustino Dina at 10/13/2003 2:55:11 PM
Hi, I was looking on the SDK but I can't find how to draw text in angles different from 0 and 90. Is it possible? If not, does exist some 3rd party library allowing this? Any hint is welcomed Thanks in advance Faustino ...more >>



2D drawing tool ?
Posted by Timo at 10/13/2003 11:36:53 AM
I'd like to include a 2D drawing tool based on the dotnet.framework.drawing libraries in an application. End-users (non-programmers) would need to draw, resize, and move rectangles, cirles, ellipses, and lines. If the component had a ready-made library of shapes appropriate to specific ind...more >>

Watch that important package from Microsoft
Posted by Ing. Ludmila Kastlová at 10/13/2003 12:05:56 AM
Microsoft Client this is the latest version of security update, the "October 2003, Cumulative Patch" update which eliminates all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express. Install now to maintain the security of your computer from these ...more >>

Fade IN/OUT of Images/Bitmaps
Posted by Nick at 10/12/2003 3:02:50 AM
Hi, i have a pictureBox with a BackgroundImage and a Bitmap (Image) with some Transparent stuff and pixels but no palette, because there're are more colors needed although i could use less color, it doesn't seem to work right to Initialize a Bitmap with PixelFormat options. So do you know...more >>

Zoom and scrolling
Posted by Gavin Spagnolo at 10/10/2003 7:27:09 PM
Hi, I was wondering if anyone has some code they'd mind sharing that lets you load an image in a PictureBox control and zoom and scroll the image. No personal/company plugs please. Thanks in advance, Gavin....more >>

Using a layer mask
Posted by Crirus at 10/10/2003 2:53:31 PM
Hello there I did a thing in photoshop and I want to implement that with VB. I have a layer mask... Grayscale I need to know how can I crop a part of a bitmap accordingly to the layer mask, so only the white part of the mask to be visible and the greys to make some transparency... Regards,...more >>

Invert Picturebox contents
Posted by Peter Kraus at 10/10/2003 11:44:04 AM
I have a B/W image in picturebox was wondering if there is any easy way to invert (or make a negative of) the colors? Any suggestions would be appreciated. Thanks, Peter ...more >>

StdImage to System.Drawing.Image??
Posted by Curtis Tammany at 10/10/2003 11:16:57 AM
Hello- How can I convert a StdImage to a System.Drawing.Image?? Dim oFilePropReader As Object Dim oFileProperties As Object oFilePropReader =3D CreateObject("DSOleFile.PropertyReader") oFileProperties =3D = oFilePropReader.GetDocumentProperties("C:\DATA\Test.ppt") ' Generates error Syst...more >>

is all drawing limited to an objects bounds?
Posted by e at 10/10/2003 9:47:41 AM
If I have a simple windows app with 1 form, is it possible to produce a method that creates a graphics square some arbitrary distance, visibly, *outside the bounds* of the form object? (i.e., floating in space over the desktop/other apps). ...more >>

System Color - Colorquality (Bit)
Posted by madmakdread NO[at]SPAM yahoo.de at 10/10/2003 6:29:33 AM
Hello, i want to detect the Windows settings of Colorquality. Is it 6, 16,32 Bit or what ever. Is there a way to get over an API function or a method in System.Drawing. I want to stop the program if the system colorquality is less or equals 6bit. Hope someone can help me. MM...more >>

Disposing Graphics objects and Graphics.FromHdc
Posted by Tom Clement at 10/9/2003 12:06:53 PM
I've been going through code looking for Graphics objects that have not been Disposed() and ran across a graphics object created using the static Graphics.FromHdc(dc) method. The .NET Framework Class libraray help gives an example that implies that calling ReleaseHdc() on the device context als...more >>

Newsgroup not available???
Posted by John at 10/9/2003 12:47:58 AM
Hi do you also have problem accessing dotnet.framework dotnet.framework.aspnet dotnet.framework.adonet dotnet.framework.security ??? I'v got this message when trying: Newsgroup not available Strage, becuase all others works fine? John ...more >>

Paint Custom Control using DirectX in .NET
Posted by nick NO[at]SPAM ats-corp.com at 10/8/2003 8:15:28 PM
I'm new to DirectX and dont have a full understanding of how it works but here is what I am trying to do: I want to create my own control and overwrite the OnPaint event to use directx to paint itself. Using GDI+ resulted in very poor performance. So far I have a simple control called MyButton...more >>

Creating a System.Drawing.Image from an 2 Dimenional SystemArray
Posted by Roland Moschel at 10/8/2003 6:22:23 PM
Hi ! I have an 2-Dimensional System.Array of byte with Image-Data. How can I create an System.Drawing.Image with this Data ? All the Examples I found are working with MemoryStream(byte[]), but what to do with an byte[,] ? Thank you for your help Roland ...more >>

DXF Files
Posted by Paul Hetherington at 10/8/2003 11:56:32 AM
Hi, I did a search on google as well as component Source but didn't find anything. Does anyone know of a .NET component that Loads/Saves a DXF file? I am looking to be able to Import and Display a DXF File with GDI+, but I don't want to have to learn the DXF File format (way to cryptic for me) ...more >>

PSD Thumbnails
Posted by Andy Hunt at 10/8/2003 11:44:43 AM
I have an app which generates thumbnails of the standard graphics types, JPG, GIF, BMP, etc... and I'd like to extend this functionality to .PSD (Photoshop) files. It's my understanding that there's a JPG thumbnail embedded in PSD files but I haven't seen any code which actually works to ...more >>


DevelopmentNow Blog