system.drawing
how to change the background color of an item in a listbox when its string value is equal to something?
i have a listbox that contains the words \"week1\", \"week2\", ..... all the way up to \"week52\" and when i select a week from the listbox it will retrieve a value from a mysql database that will rep[详细]
2023-04-13 06:13 分类:问答Drawing a string with full justified in .NET
I need to sraw a string to a bitmap with full justified. I know that StringFormat.Alignment doesn\'t support full justified alignment. So, I\'m looking for a solution to draw a string on a bitmap with[详细]
2023-04-11 19:02 分类:问答Is there a way to use System.Drawing in a webservice in ASP.NET?
I have a project were i need to read some \"secret values\" from a database, and print those values on a card. I was trying use GDI do write the values on card image, but asp.net does\'t allow me to u[详细]
2023-04-11 09:29 分类:问答Object currently in use elsewhere (System.Drawing)
This is the code which I run to generate a PDF public string ScreenshotFullLength(string Url) { UrlScreenshot Shot = new UrlScreenshot(Url, 975, 100);[详细]
2023-04-11 07:40 分类:问答How do I print vertical text in C# that prints up? (StringFormat.DirectionVirtical prints down)
I want to print text in C# using System.Drawing, but setting the StringFormat.DirectionVirtical flag only seems to print text downward. I want it to print the other way, like you see in graphs.[详细]
2023-04-10 23:28 分类:问答Return coordinates of text object
I am using System.drawing to place tex开发者_开发技巧t onto an object that is later used as a template to create a business card for a user.My problem is that the coordinates of the text placed is dif[详细]
2023-04-10 21:07 分类:问答C# WinForms Drawing without viewing
A friend of nine gave me an idea for buffering: to view the drawing after the drawing process is completed. He told me to draw on a graphic (a panel in this case) which is invisible for the user. But[详细]
2023-04-08 19:47 分类:问答C# WinForms: Drawing with one or more additional threads. How?
In case I have a big drawing with all kinds of geometric forms (lines, rectangles, circles, e.t.c.) it takes a lot of time for the thread to draw everything. But in real life, one building is built by[详细]
2023-04-07 18:40 分类:问答Double buffering with Panel
Double buffering the whole form can be done by setting the value of the \"AllPaintingInWmPaint\", \"UserPaint\" and \"DoubleBuffer\" ControlStyles to \"true\" (this.SetStyle(ControlStyles.AllPaintingI[详细]
2023-04-07 18:01 分类:问答Justifying text using DrawString in C#
I\'m drawing text on a System.Drawing.Graphics object. I\'m using the DrawString method, with the text string, a Font, a Brush, a bounding RectangleF, and a StringFormat as arguments.[详细]
2023-04-06 20:13 分类:问答