How to get a subset of PDF pages from a large PDF file using Java

We’re supposed to render the front page of the PDF to a user, but the PDF has over 300 pages and we do not want to read the whole pdf just to serve back a single page which is being viewed at the moment.

Thanks!!

1 Like

@victortjk,

GroupDocs.Viewer allows you to view specific pages or N consecutive pages of a document. Can you please tell us either you are interested in .NET or Java variant of the API? We’ll then assist you accordingly.

We are using Java :slight_smile:

@victortjk,

Please have a look at the following articles:

Thanks a lot @atirtahir3!

1 Like

@victortjk,

You are welcome.