14 May
2012
14 May
'12
2:39 p.m.
OK, but if the rect passed to GdipDrawString has a non-zero width, and depending on the string formatting options, GdipDrawString may wrap the text. GdipMeasureString will not wrap the text if you call it with a width of 0. On Mon, May 14, 2012 at 9:37 AM, Dmitry Timoshkov <dmitry(a)baikal.ru> wrote:
Vincent Povirk <madewokherd(a)gmail.com> wrote:
If the string wraps, and you don't give the width to GdipMeasureString, won't it return a too small height?
GdipMeasureString considers an empty rect as a rect without clipping.
-- Dmitry.