This is a migrated thread and some comments may be shown as answers.

FlipTextBlock

3 Answers 31 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
bento
Top achievements
Rank 2
bento asked on 16 Sep 2013, 07:31 AM
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. 

3 Answers, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 16 Sep 2013, 07:49 AM
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.
0
bento
Top achievements
Rank 2
answered on 16 Sep 2013, 08:32 AM
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 :)
0
Kiril Stanoev
Telerik team
answered on 18 Sep 2013, 07:20 AM
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.
Tags
General Discussions
Asked by
bento
Top achievements
Rank 2
Answers by
Kiril Stanoev
Telerik team
bento
Top achievements
Rank 2
Share this question
or