Hi I have CRichText object and I want to extract the text from it and store it into HBufC object . how should I do it . I have been trying to use function Extract but Cant use . plz give me code snippet.
Hi I have CRichText object and I want to extract the text from it and store it into HBufC object . how should I do it . I have been trying to use function Extract but Cant use . plz give me code snippet.
Hi
try doing like this
hope this help..Code:const TInt length = richText->DocumentLength(); HBufC* text = HBufC::NewL(length); text->Des().Append(richText->Read(0, length));
regards
Rafeeq