python-pdfbox icon indicating copy to clipboard operation
python-pdfbox copied to clipboard

start_page and end_page not working

Open luke4u opened this issue 5 years ago • 0 comments

Hi Guys,

Trying to set the start page and end page for extraction texts. But produced texts for all pages. Could anyone explain why?

p = pdfbox.PDFBox()
p.extract_text(input_path = file_path, output_path = '', password = None, encoding = None, html = False, sort=False,
               ignore_beads=False, startpage = 4, end_page=6)

Thanks a lot. Luke

luke4u avatar Nov 08 '19 14:11 luke4u