• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Detect Empty Pages

Contributor ,
Feb 12, 2016 Feb 12, 2016

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

TOPICS
Acrobat SDK and JavaScript

Views

2.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 15, 2016 Mar 15, 2016

Copy link to clipboard

Copied

Look at the saveAs method of the Doc object.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Mar 23, 2016 Mar 23, 2016

Copy link to clipboard

Copied

LATEST

Hi,

     Ok thank you... I will check...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines