Jump to content
Changes to the Jaspersoft community edition download ×

Number of pages in .jrprint ...


2005 IR Help

Recommended Posts

By: Shikha Meena - shikhameena

Number of pages in .jrprint ...

2004-03-26 05:37

Hi,

According to my project's requirement i need to know how many pages a particular .jrprint file will produce.. Is it possible to know the number of pages from the .jrprint file without exporting or printing?.. If yes then how?...Please help...

 

Regards,

Shikha

 

 

 

 

By: Tobias Gaekle - ike987

RE: Number of pages in .jrprint ...

2004-03-26 07:29

JasperPrint print = JasperManager.loadPrint(filename);

print.getPages().size();

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...