How to use get_text
with textpage
argument
#3819
Unanswered
scorphus
asked this question in
Looking for help
Replies: 1 comment
-
Methods |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The manual and source code state that
textpage
can be passed toget_text
to “use a previously created TextPage. This reduces execution time very significantly: by more than 50% and up to 95%, depending on the extraction option. If specified, the ‘flags’ and ‘clip’ arguments are ignored, because they are textpage-only properties. If omitted, a new, temporary textpage will be created. (New in v1.19.0)”Can somebody please offer an example of
textpage
being passed as argument toget_text
for a multi-page PDF?Also, how beneficial would it be and why would a user want to pass use
get_text
in such way?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions