HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › How to know the total numbe of pages usiong pd4ml java api › Re: Re: How to know the total numbe of pages usiong pd4ml java api
March 21, 2011 at 13:56
#28463
You may request the number after pd4ml.render() call:
System.out.println(“pages: ” + (Long)pd4ml.getLastRenderInfo(PD4Constants.PD4ML_TOTAL_PAGES));