×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    20

    Red face hi, who can explain how to use TMeasureTextInput and CFont::MeasureText

    hi anybody
    i can not find more detail information from sdk about MeasureText method, who can help me ?
    thanks
    steve

  2. #2
    Super Contributor
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    763

    Re: hi, who can explain how to use TMeasureTextInput and CFont::MeasureText

    Forum nokia search can help .
    http://discussion.forum.nokia.com/fo...ht=MeasureText
    --Mayur.

  3. #3
    Registered User
    Join Date
    Aug 2007
    Posts
    20

    Re: hi, who can explain how to use TMeasureTextInput and CFont::MeasureText

    thanks Mayur

    i know how to use these two class, but i don't know how can i set the value of TMeasureTextInput will affect the MeasureText, maybe i need the example of set value of TMeasureTextInput

    thanks

  4. #4
    Super Contributor
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    763

    Re: hi, who can explain how to use TMeasureTextInput and CFont::MeasureText

    Are you defining your own font rendering or something?
    If yes,then setting these values will really be helpful.
    If not,then setting custom values will be give you a mis leading value of the text that can fit in.
    --Mayur.

  5. #5
    Registered User
    Join Date
    Aug 2007
    Posts
    20

    Re: hi, who can explain how to use TMeasureTextInput and CFont::MeasureText

    i use a the TitleFont, i want to write a text view program use symbian, i am a newbie of symbian, i just have the expirence of vc, i want to use measuretext function like measurestring of gdi+, but mabye i can not

    thanks mayur

  6. #6
    Super Contributor
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    763

    Re: hi, who can explain how to use TMeasureTextInput and CFont::MeasureText

    I think that TextWidthInPixels & TextCount would be an ideal function for use at this stage.
    Because I see that you need to measure how much text can fit in for a particular font and width,right?
    --Mayur.

  7. #7
    Registered User
    Join Date
    Aug 2007
    Posts
    20

    Re: hi, who can explain how to use TMeasureTextInput and CFont::MeasureText

    yes, that's right, maybe i will find another way to solove my problem
    can you tell me your email? Mayur
    thanks

  8. #8
    Super Contributor
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    763

    Re: hi, who can explain how to use TMeasureTextInput and CFont::MeasureText

    Hi steve,
    You can send a email thru the forum itself.I won't put my email here to avoid getting loads of spam.Hope you understand.
    --Mayur.

Posting Permissions

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