Page 1 of 1

pdf.GetText() on an empty page

Posted: Mon Jul 22, 2019 4:09 pm
by jPV
If I try to get text from a page which doesn't have any text, Hollywood exits with the error "Specified character is out of range!".

Could this be changed so that GetText() would give an empty string in these cases? It's a bit annoying to start checking page length all the time before getting texts.

Re: pdf.GetText() on an empty page

Posted: Mon Jul 22, 2019 6:21 pm
by airsoftsoftwair
Should be possible to do.