# Can i use cropPages()?

**URL:** <https://pdfjs.community/t/can-i-use-croppages/1634>\
**Category:** Technical Support\
**Created:** [April 27, 2022, 5:39am UTC](https://pdfjs.community/t/can-i-use-croppages/1634 "2022-04-27T05:39:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![laneyson.dev](https://avatars.discourse-cdn.com/v4/letter/l/cdc98d/32.png) [@laneyson.dev](https://pdfjs.community/u/laneyson.dev)\
**Post date:** [April 27, 2022, 5:39am UTC](https://pdfjs.community/t/can-i-use-croppages/1634/1 "2022-04-27T05:39:54Z")

</div>

**Which product are you using?**  
PDF.js Express Viewer

**PDF.js Express Version**  
|UI version|‘8.4.1’|  
|Core version|‘8.4.0’|

**Detailed description of issue**  
I am using the free PDF.js Express Viewer.  
Can I use the cropPages() function?  
[https://pdfjs.express/api/Core.Document.html#cropPages\_\_anchor](https://pdfjs.express/api/Core.Document.html#cropPages__anchor)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [April 27, 2022, 5:39am UTC](https://pdfjs.community/t/can-i-use-croppages/1634/3 "2022-04-27T05:39:59Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Integrating PDF.js Express Viewer into a new Blazor project - Prerequisites](https://pdfjs.express/documentation/get-started-viewer/blazor/new-project#prerequisites)
- [Integrating PDF.js Express Viewer into a Vue.js project - Prerequisites](https://pdfjs.express/documentation/get-started-viewer/vue#prerequisites)
- [Integrating PDF.js Express Viewer into an existing Blazor project - Prerequisites](https://pdfjs.express/documentation/get-started-viewer/blazor/exist-project#prerequisites)

APIs:
- [Core.DocumentViewer - recalculateLayout(pagesToRecalculate)](https://pdfjs.express/api/Core.DocumentViewer.html#recalculateLayout__anchor)
- [PDF.js Express Utilities](https://pdfjs.express/api/utils/index.html#__anchor)
- [ExpressUtils(optionsopt) - # async extract() → {Promise.}](https://pdfjs.express/api/utils/ExpressUtils.html#extract__anchor)

Forums:
- [What version of PDF.js Express we should use](https://pdfjs.community/t/what-version-of-pdf-js-express-we-should-use/1542/4)
- [Access to PDF.js viewer when your servers are unavailable](https://pdfjs.community/t/access-to-pdf-js-viewer-when-your-servers-are-unavailable/1260/1)
- [Can I remove watermark from PDF.js viewer (free version)?](https://pdfjs.community/t/can-i-remove-watermark-from-pdf-js-viewer-free-version/1166/1)

---

<div class="post-metadata">

**Author:** ![Logan](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/logan/32/13_2.png) [@Logan](https://pdfjs.community/u/Logan)\
**Post date:** [April 27, 2022, 2:39pm UTC](https://pdfjs.community/t/can-i-use-croppages/1634/4 "2022-04-27T14:39:26Z")

</div>

Hi there,

No, PDF.js Express does not support `cropPage`. We share our API documentation with a few other products so there are a few functions listed in there that we don’t actually support. Sorry for the confusion.

Thanks!  
Logan
