We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

PDF Properties - Link Magnification to Inherit Zoom is not working

Dear Team,

We have purchased Aspose.Pdf for Java Site OEM license with Enterprise Support.
We have following issue with current version of API. Could you please help us to resolve these issues?


Require to set PDF proeprty link magnification to Inherit Zoom. Its not working with following changes.
Could you please help us the right solution or with code snippet examples.


* Update inherit zoom
* @param sourcePDFFilePath
private static void updateInheritZoom(String sourcePDFFilePath) {

	// document..DestinationType =
	// Aspose.Pdf.Generator.DestinationType.FitPage

	// Zoom factor
	// Instantiate new Document object
	// GoToAction action = new GoToAction(new XYZExplicitDestination(1, 0,
	// 0, 0));
	// document.setOpenAction(action);
	// }
	// instantiate
	PdfPageEditor editor = new PdfPageEditor();
	// bind the source PDF file
	// set zoom over PDF file, zoom level as 0
	// save the PDF file to temporary
	editor = null;

Could you please let us know the right solution with example code snippets.
Highly appreciate for your support and resolution.

Thanks & Regards,
Radha Krishna Garnepudi


Thanks for contacting support.

Would you please share your sample PDF document with us. We will test the scenario in our environment and address it accordingly.