I have the following method to calculate the width of a text:
public float GetWidthOfString(string str, Font font, int bitmapWidth, int bitmapHeight)
{
Bitmap objBitmap = default(Bitmap);
Graphics objGraphics = default(Graphics...
asked by
17.11.2015 / 14:38