Hello
I have upgraded to aspose java pdf 10.6.1 on the generated pdf, the display widht is set to Actual
how to set it Zoom to Page Level using aspose api
Regards-Kalyan
Hello
I have upgraded to aspose java pdf 10.6.1 on the generated pdf, the display widht is set to Actual
how to set it Zoom to Page Level using aspose api
Regards-Kalyan
Hi Kalyan,
double zoom = 5;<o:p></o:p>
Document doc = new Document(“c:/pdftest/Farag.pdf”);<o:p></o:p>
com.aspose.pdf.GoToAction action = new com.aspose.pdf.GoToAction(1);<o:p></o:p>
action.setDestination(new com.aspose.pdf.XYZExplicitDestination(doc,
0, 0, 0, zoom));<o:p></o:p>
doc.setOpenAction(action);<o:p></o:p>
doc.save("c:/pdftest/Zoomed_pdf.pdf");
Thanks it helped to set the zoom
It resolved after using
FitBExplicitDestination xyz=new com.aspose.pdf.FitBExplicitDestination(doc, 0);
Thanks for the help
Regards
-Kalyan
Hi Kalyan,