I am experiencing some issues with the MultiLineTextWidth function with the latest 2015 TeeChartPro distribution and how it handles spaces.
For instance, if I do:
Code: Select all
LabelText:= 'bla';
w1:= MultiLineTextWidth(LabelText,numLines);
LabelText:= LabelText + #32
w2:= MultiLineTextWidth(LabelText,numLines);
I believe there was some change in the function. Do you know what I am doing wrong here and how i can get the function to return the total width which includes the space character.
I can see that the MultiLineTextWidth has a third parameter and that I am using its default value ttfNormal,
thanks in advance for your valuable help.