PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: How to know the total numbe of pages usiong pd4ml java api
   PostPosted: 21 Mar 2011, 06:51 
I wanted to know the toal number of pages using java pd4ml. Is there any way for it?


  Subject: Re: How to know the total numbe of pages usiong pd4ml java api
   PostPosted: 21 Mar 2011, 15:56 
You may request the number after pd4ml.render() call:

System.out.println("pages: " + (Long)pd4ml.getLastRenderInfo(PD4Constants.PD4ML_TOTAL_PAGES));



[Reply]     [ 2 posts ] 

Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share