Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User steve.xu's Avatar
    Join Date
    Aug 2007
    Posts
    20
    hi anybody
    i can not find more detail information from sdk about MeasureText method, who can help me ?
    thanks
    steve

  2. #2
    Registered User mayur_24's Avatar
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    762
    Forum nokia search can help .
    http://discussion.forum.nokia.com/fo...ht=MeasureText
    --Mayur.

  3. #3
    Registered User steve.xu's Avatar
    Join Date
    Aug 2007
    Posts
    20
    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
    Registered User mayur_24's Avatar
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    762
    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 steve.xu's Avatar
    Join Date
    Aug 2007
    Posts
    20
    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
    Registered User mayur_24's Avatar
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    762
    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 steve.xu's Avatar
    Join Date
    Aug 2007
    Posts
    20
    yes, that's right, maybe i will find another way to solove my problem
    can you tell me your email? Mayur
    thanks

  8. #8
    Registered User mayur_24's Avatar
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    762
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved