- Posts: 16
- Thank you received: 0
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
IP: 192.168.0.71
11 years 4 months ago #7675
by Haktic
Text Only view in Reader was created 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
Any help will be apreciated,
Thanks
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;
like this:
Page page = doc.GetPage(pageno);
page.ObjsStart();
String val = page.ObjsGetString(0,page.ObjsGetCharCount());
page.Close();
TextView.Text = val;
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 ?
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
i have tried this but no luck i am looking for your responce ..,
Thanks
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...
The above code should return only the text content of a page in a string...
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
- 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