# Getting the number of pages of a pdf file

**URL:** <https://www.ruby-forum.com/t/getting-the-number-of-pages-of-a-pdf-file/144539>\
**Category:** Rails\
**Created:** [July 30, 2008, 7:44pm UTC](https://www.ruby-forum.com/t/getting-the-number-of-pages-of-a-pdf-file/144539 "2008-07-30T19:44:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [July 30, 2008, 7:44pm UTC](https://www.ruby-forum.com/t/getting-the-number-of-pages-of-a-pdf-file/144539/1 "2008-07-30T19:44:47Z")

</div>

Hi!

I think everything is in the title… I did not find anything on the  
internet.  
Is Pdf::Writer able to do that??

Thanks.

aurels
