Copy link to clipboard
Copied
Hi,
I need to detect empty pages of pdf document. if i use the concept of the below code its fail to me bcoz., document contains document name, date & time at bottom of the page. How can i detect empty pages of pdf document using javascript or java? Can anyone help me...
for(var i=this.numPages-1;i>=0;i--)
{
numWords = this.getPageNumWords(i);
if(numWords == 0)
{
app.alert("Empty Pages");
}
}
Thanks in advance,
Sudha K
Copy link to clipboard
Copied
Look at the saveAs method of the Doc object.
Copy link to clipboard
Copied
Hi,
Ok thank you... I will check...