Text Only view in Reader - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC: Text Only view in Reader

Text Only view in Reader 3 years 6 months ago #7675

  • Haktic
  • Haktic's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

Text Only view in Reader 3 years 6 months ago #7678

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 830
  • Karma: 43
  • Thank you received: 10
just using TextView.
like this:
Page page = doc.GetPage(pageno);
page.ObjsStart();
String val = page.ObjsGetString(0,page.ObjsGetCharCount());
page.Close();
TextView.Text = val;

Please Log in or Create an account to join the conversation.

Text Only view in Reader 3 years 6 months ago #7680

  • Haktic
  • Haktic's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
Thanks for your reply .., can you please tell a little more details like where to add this code ?

Please Log in or Create an account to join the conversation.

Text Only view in Reader 3 years 6 months ago #7691

  • Haktic
  • Haktic's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
Hi! radaee
i have tried this but no luck i am looking for your responce ..,
Thanks

Please Log in or Create an account to join the conversation.

Text Only view in Reader 3 years 6 months ago #7699

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 815
  • Karma: 20
  • Thank you received: 61
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...

Please Log in or Create an account to join the conversation.

Text Only view in Reader 3 years 1 month ago #8785

  • Cooper
  • Cooper's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Karma: 2
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Powered by Kunena Forum