Skip to content

Extract plain text from PDF file #1411

Answered by wojtekmaj
JasperAlexander asked this question in Q&A
Discussion options

You must be logged in to vote

Sure, it's possible! page that you get in onLoadSuccess callback in Page component has .getTextContent() method that does just that. If you need JUST the text though, you can use pdfjs-dist package directly :)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@githubdebo
Comment options

@wojtekmaj
Comment options

@JacksonPalaka
Comment options

@JacksonPalaka
Comment options

Answer selected by wojtekmaj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants