//Changing the text color and size of the font in RichText editor TCharFormat format; TCharFormatMask mask; //Changing Color format.iFontPresentation.iTextColor = KRgbBlack; //Changing Height format.iFontSpec.iHeight=150; mask.SetAttrib(EAttColor); mask.SetAttrib(EAttFontHeight); CCharFormatLayer* layer = CCharFormatLayer::NewL(format, mask); iSmsEditor->SetCharFormatLayer(layer); //Here iSmsEditor is RichTextEditor
Forum posts: 82
Hi
//Changing the text color and size of the font in RichText editorTCharFormat format;
TCharFormatMask mask;
//Changing Color
format.iFontPresentation.iTextColor = KRgbBlack;
//Changing Height
format.iFontSpec.iHeight=150;
mask.SetAttrib(EAttColor);
mask.SetAttrib(EAttFontHeight);
CCharFormatLayer* layer = CCharFormatLayer::NewL(format, mask);
iSmsEditor->SetCharFormatLayer(layer); //Here iSmsEditor is RichTextEditor
Br
Gurpreet
www.mobisy.com
Forum posts: 134
You can visit this may it'll help you
http://www.forum.nokia.com/info/sw.nokia.com/id/ce86c31c-4190-42fc-ae12-5f744916f26e/S60_Platform_Rich_Text_Editor_Example_v2_0_en.zip.html
gud luk.
BR
Isha
"To the question of your life , you are the only Answer. To the problems of your life,you are the only Solution".
Forum posts: 12
Thanks! @_@