FlipTextBlock

4 posts, 0 answers
  1. bento
    bento avatar
    35 posts
    Member since:
    Aug 2013

    Posted 16 Sep 2013 Link to this post

    I wish in the future you have control that contains large text, for example 5000 characters and the text control automatically display paragraph correctly and animate the pages like flip book. 
  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 16 Sep 2013 Link to this post

    Hi Benyamin,

    Thank you for contacting us and submitting your request. We have had ideas for such control before, but displaying large amounts of text in the traditional way always comes with a lot of performance issues. We might be able to utilize Direct2D but for the moment we still need to do our research. Do you need such control to read pdfs maybe?

    Regards,
    Kiril Stanoev
    Telerik
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  3. DevCraft banner
  4. bento
    bento avatar
    35 posts
    Member since:
    Aug 2013

    Posted 16 Sep 2013 Link to this post

    Hi Kiril,

    I have same thinking, I tried to create some logic to calculate max 5000 characters into some lines and then put limited lines into pages (textblocks). Calculation depend on newline (\n) fontsize, fontfamily, and space (width and height) of textblock. It have some issue such as the size its not really accurate because a line at the end of a page sometimes too short, because the next words is calculated as a line owned by next page. And using your animation (move) can animate the pages.

    And no, its not pdf content, but text from Json. The content restricted to contain only letter, number, punctuation and \n escape characters. Thats the scenario.

    Maybe, bitmap of the pages can solve some performance issue, so actually it display the bitmap, and can use RadSlideView with orientation vertical will be good as page (bitmap) transition :)
  5. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 18 Sep 2013 Link to this post

    Hi Benyamin,

    Thank you for the follow up. Creating a bitmap of each page is a nice approach but not perfect. We'll keep you updated on when we decide to work on such control. 

    Regards,
    Kiril Stanoev
    Telerik
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Back to Top
DevCraft banner