W Will May 22, 2005 #1 I need to know the size (in pixels) of a string painted on a graphic component Any idea? tnx
M Maqsood Ahmed May 22, 2005 #2 Hello, you can use MeasureString method of Graphics object to get string's width and height in pixels.. HTH. Cheers Maqsood Ahmed [MCP,C#] Kolachi Advanced Technologies http://www.kolachi.net
Hello, you can use MeasureString method of Graphics object to get string's width and height in pixels.. HTH. Cheers Maqsood Ahmed [MCP,C#] Kolachi Advanced Technologies http://www.kolachi.net
M Morten Wennevik May 22, 2005 #3 You could also use MeasureCharacterRanges Hello, you can use MeasureString method of Graphics object to get string's width and height in pixels.. HTH. Cheers Maqsood Ahmed [MCP,C#] Kolachi Advanced Technologies http://www.kolachi.net Click to expand...
You could also use MeasureCharacterRanges Hello, you can use MeasureString method of Graphics object to get string's width and height in pixels.. HTH. Cheers Maqsood Ahmed [MCP,C#] Kolachi Advanced Technologies http://www.kolachi.net Click to expand...