I'm supposed to draw string onto a bitmap using GDI+. So how do I check if the string is too long to fit into the bitmap(which is the bounding rect)?? Thank you.
I'm supposed to draw string onto a bitmap using GDI+. So how do I check if the string is too long to fit into the bitmap(which is the bounding rect)?? Thank you.
In GDI+ Graphics class there is a function called MeasureString() which could compute the bounding rect The DrawText function GDI can also do the same nave