Read-only archive of the All About Symbian forum (2001–2013) · About this archive

How do i Use TextUtils class?

1 replies · 1,675 views · Started 15 August 2003

Hi.. I want to draw Texts that clips and appends ellipsis (...) when it exceeds its specified rectangle... Now I found what i was looking for in the TextUtils::ClipToFit().. After supplying the required parameters, exactly how does it exactly draw to the screen.. Because there is now way i can link it with the DrawText function of a graphics context or any other functions to draw to the screen...

I got this already... The function ClipToFit() has a TDes parameter that is updated inside function.. after the function completes, use the updated TDes parameter function in the gc.DrawText();