A
Andrew
Hi,
StringFormat of CF does not support StringTrimming...
Does any one know a handy method so that if i give string width and bounding
box, it gives me a new string with trimming characters "..." or a method
something similar to this.
For example if "ABCDEFGHIJK" is to be painted and if it does not fit in the
bounding box while doing g.DrawString, i am looking for a method which
checks the widths and gives me the required 'trimmed' string which will fit
like "ABCD..." I think i read a method similar to this in the framework but
have forgotten where is it...
Awaiting response...
StringFormat of CF does not support StringTrimming...
Does any one know a handy method so that if i give string width and bounding
box, it gives me a new string with trimming characters "..." or a method
something similar to this.
For example if "ABCDEFGHIJK" is to be painted and if it does not fit in the
bounding box while doing g.DrawString, i am looking for a method which
checks the widths and gives me the required 'trimmed' string which will fit
like "ABCD..." I think i read a method similar to this in the framework but
have forgotten where is it...
Awaiting response...