Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Text Only view in Reader

More
IP: 192.168.0.71 11 years 4 months ago #7675 by Haktic
How can we get the text only view in pdf reader, i.e only text from the pdf document will be shown without graphics and pictures.
Any help will be apreciated,
Thanks
More
IP: 192.168.0.71 11 years 4 months ago #7678 by radaee
Replied by radaee on topic Text Only view in Reader
just using TextView.
like this:
Page page = doc.GetPage(pageno);
page.ObjsStart();
String val = page.ObjsGetString(0,page.ObjsGetCharCount());
page.Close();
TextView.Text = val;
More
IP: 192.168.0.71 11 years 4 months ago #7680 by Haktic
Replied by Haktic on topic Text Only view in Reader
Thanks for your reply .., can you please tell a little more details like where to add this code ?
More
IP: 192.168.0.71 11 years 4 months ago #7691 by Haktic
Replied by Haktic on topic Text Only view in Reader
Hi! radaee
i have tried this but no luck i am looking for your responce ..,
Thanks
More
IP: 192.168.0.158 11 years 4 months ago #7699 by nermeen
Replied by nermeen on topic Text Only view in Reader
Can you explain why it's not working with you?

The above code should return only the text content of a page in a string...
More
10 years 11 months ago #8785 by Cooper
Replied by Cooper on topic Text Only view in Reader
Is it possible to improve this function? For instance:

- continue to next page in text only view
- don't show text in small columns but use the width of the screen
Time to create page: 0.421 seconds
Powered by Kunena Forum