Text length limit on ToastImageAndText04 RRS feed

  • General discussion

  • Hi
    I am using ToastImageAndText04 from

    http msdn.microsoft.com/en-us/library/windows/apps/windows.ui.notifications.toasttemplatetype.aspx

    What is the limitation on text length, how can I detect text getting cut on Toast Notification. 

    Wednesday, December 26, 2012 3:14 PM

All replies

  • Hi,

    I'm not sure if there is a text length limit, because it depends on the size of the character you are using, for you to test the text trimming you would need to know something like the Width of each line and calculate that with the width of your String ( I'm pretty  sure there is a method for calculating String Width with a specific font, I'm just not sure how you do that), but anyway, you don't have to worry about having words trimmed in your tile, because Windows trims the text automatically, and add the ... in the end of the sentence...

    Hope it helps

    Saturday, February 16, 2013 4:31 PM