Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


How to delete the last page when you have just one page?

Community Beginner ,
Aug 30, 2018 Aug 30, 2018

Copy link to clipboard

Copied

WOW, it seems than empty PDF are not allowed, i'm true?

this.deletePages(this.numPages-1); // not a solution

TOPICS
Acrobat SDK and JavaScript

Views

105

Likes

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

correct answers 1 Correct answer

Adobe Community Professional , Aug 30, 2018 Aug 30, 2018
A PDF file must have at least one page at all times.

Likes

Translate

Translate
Adobe Community Professional ,
Aug 30, 2018 Aug 30, 2018

Copy link to clipboard

Copied

This is not allowed.

Likes

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
Adobe Community Professional ,
Aug 30, 2018 Aug 30, 2018

Copy link to clipboard

Copied

LATEST

A PDF file must have at least one page at all times.

Likes

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