| Thread | Last Post | Replies |
|
| Drawing a proper drop-shadow? | 30 Aug 2003 20:47 GMT | 1 |
I'm working on some GDI+ code to bring a JPG into a bitmap and dynamically draw a frame and dropshadow around it. I've got the image loaded and scaled such that I have room, and can do the frame, but the dropshadow is, invariably, just a black bar on the right and
|
| Image inclusion in projects | 29 Aug 2003 23:51 GMT | 1 |
I'm releasing a tool soon that works with GDI+. One of the features is the ability to import images and produce code. I've identified 4 ways that a project could get at images. 1) Build action embed
|
| Setting size of New Bitmap | 29 Aug 2003 18:42 GMT | 2 |
I need to create a fax cover page. For this I am creating a bitmap image doing the drawing on it and then converting it to tiff format. I am have a problem with getting the size of the image correct. I need two sizes for starters, legal and letter. When creating new bitmaps you ...
|
| Simple Question | 29 Aug 2003 18:40 GMT | 1 |
I am writing a graphing application that needs to have multiple instances of custom graphs written vertically. I then need a governer that can interact with all the graphs by drawing a vertical line to line up the graph points.
|
| recognize image files | 29 Aug 2003 17:40 GMT | 1 |
I'd like to know if there's a way to identify a file as a valid bitmap which can be loaded with the public Bitmap(string filename) constructor. Should I test filename's extension or is there a way to check the header ? Maybe there's a function which gives me supported extensions so ...
|
| Double buffering technique | 29 Aug 2003 11:03 GMT | 4 |
I just read this article about double buffering in GDI+ : http://windowsforms.net/articles/windowsformspainting.aspx He shows how to double buffer with this kind of code: //create our offscreen bitmap
|
| Multiple display monitors | 29 Aug 2003 05:39 GMT | 4 |
Windows GDI has support for multiple display monitors. Where are comparable facilities in the .NET Framework Class Library. What are the C# bindings?
|
| Cannot get MeasureString to return accurate value for making columns | 29 Aug 2003 04:06 GMT | 4 |
Hi all. I realize this MeasureString topic has been tossed around quite a bit but I can't seem to make it work well despite trying out all the postings. I implemented all I tried in the little function at the end of this
|
| Drawstring doesn't work with all printers. Any ideas? | 28 Aug 2003 16:40 GMT | 1 |
I have been doing some simple tests, based on the code given in the MSDN example, with additions to select any of the printers available on my machine. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr fSystemDrawingPrintingPrintDocumentClassTopic.asp
|
| GDI+ Acceleration | 27 Aug 2003 12:14 GMT | 2 |
Following on from a conversation with John from MSFT below, are there any cards that support GDI+ acceleration? And more importantly how is this possible?
|
| VS icon editor problem | 27 Aug 2003 03:04 GMT | 2 |
In Visual Studio 2003 I make a new icon file. By default it shows a 32 x 32 icon which I'm not using. So I make a new 16 x 16 icon and save it. The 16 x 16 icon works fine. On the next day I start up VS and go to the icon file. By default it
|
| PrinterSettings is NOT serializable? | 27 Aug 2003 01:57 GMT | 1 |
Although PrinterSettings is marked as [Serializable] attribute, when I call Serialize() of BinaryFormatter or SoapFormatter(), it raises an exception. System.Drawing.Printing.TriState is not marked as serializable. at
|
| Graphics.FromHwnd | 27 Aug 2003 00:21 GMT | 1 |
Hi NG I get allways a OutOfMemory-Exception, when I would get a Graphics-Object, but it could not be right. When I try with this.Handle it is all ok. When I try with a Handle from Spy++ I get a OutOfMemory-Exception. What could be
|
| Newbie needs help | 26 Aug 2003 22:46 GMT | 5 |
I am very new to programming and C# and had a few questions about bitmaps and drawing them to the screen. Question 1: When creating a Bitmap object from a file, does it keep the file open for the life of the object or does it just store it in memory. If
|
| Help drawing on top of an image! | 26 Aug 2003 21:30 GMT | 1 |
I have been struggling with this for over a week now. Here's what I need to do: 1) Load an image into a picturebox control. 2) Draw a transparent box with a colored border on top of the image.
|