×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Super Contributor
    Join Date
    Mar 2003
    Posts
    2,426

    How can I change the size of font in RichTextEditor??

    I make a dialog which include two CEikRichTextEditors.But the size of font in editors is so small and no underlines,How to do ? I want the size become bigger and display underline.

    Posted by Shuqing Yuan, flyhawky@263.net
    on April 19, 2002 at 07:07

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Posts
    2,426

    RE: How can I change the size of font in RichTextEditor??

    Posted by Asheesh Sangamneheri, asangamneheri@hotmail.com
    on April 19, 2002 at 12:13

    hi,

    you basically have to set the mask first for the attribute you want to change, to change the font heres what i do..

    TCharFormat charFormat;
    TCharFormatMask charFormatMask;
    charFormatMask.SetAttrib(EAttFontHeight); charFormat.iFontSpec.iHeight=480; //(in twips)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×