system.drawing
RotateFlipType wrong values when used in settings
I\'m trying to use System.Drawing.RotateFlipType in my settings file. This screenshot summarizes my problem:[详细]
2023-01-01 10:45 分类:问答Using DrawString to draw text with no border
I have this code; public static Image AddText(this Image image, ImageText text) { Graphics surface = Graphics.FromImage(image);[详细]
2022-12-30 18:51 分类:问答How to adjust size of programatically created Bitmap to match text drawn on it?
I have the following .ashx page that takes some query string parameters and returns a bitmap with the specified text written on it.[详细]
2022-12-29 17:30 分类:问答Unable to use certain Fonts programatically in ASP.Net
I am trying to programatically create a bitmap with a specified font in ASP.Net. The idea is that the text, font name, size color etc. will be passed in from variables and a bitmap of the text using t[详细]
2022-12-29 03:55 分类:问答How to draw mixed-formatted text with .Net 2.0
is there a way to draw mixed-formatted text in .Net 2.0? I\'m looking for something similar to System.Drawing.Graphics.DrawString()[详细]
2022-12-29 03:51 分类:问答How can I extract the original image stream from a System.Drawing.Bitmap object?
I am embedding images开发者_开发问答 into my assembly using .resx files. Upon runtime, I need to save the images into standalone files, restoring the original content. How can I extract the original f[详细]
2022-12-28 17:12 分类:问答Using Visual Studio 2010 Express to create a surface I can draw to
I\'m coming from a Java background and trying to port a simple version of Conway\'s Game of Life that I wrote to C# in order to learn the language.[详细]
2022-12-28 10:16 分类:问答Graphics.MeasureCharacterRanges giving wrong size calculations
I\'m trying to render some text into a specific part of an image in a Web Forms app. The text will be user entered, so I want to vary the font size to make sure it fits within the bounding box.[详细]
2022-12-28 04:36 分类:问答C# graphics flickering
I am working on kind of drawing program but I have a problem with flickering while moving a mouse cursor while drawing a rubberband line. I hope you can help me to remove that flickering of line, here[详细]
2022-12-26 13:07 分类:问答C#: Drawing only a portion of a path
I have a series of points in a GraphicsPath; for our purpose lets assume its the outline of an uppercase B.I want to be able to be able to draw only the bottom portion that would resemble an uppercase[详细]
2022-12-24 20:29 分类:问答