No help found on Internet to Update the Magnification properties for the existing PDF’s
Find the attached PDF
sample.pdf (34.6 KB)
Thanks.
No help found on Internet to Update the Magnification properties for the existing PDF’s
Find the attached PDF
sample.pdf (34.6 KB)
Thanks.
Please try the code as follows:
C#
string dataDir = @"C:\Pdf\test784\";
// Instantiate new Document object
Document doc = new Document(dataDir + "sample.pdf");
GoToAction action = new GoToAction(new XYZExplicitDestination(1, 0, doc.Pages[1].Rect.Height, 1));
doc.OpenAction = action;
dataDir = dataDir + "Zoomed_pdf_out.pdf";
// Save the document
doc.Save(dataDir);
You can set value 1 for 100 percent zoom. The Top is the vertical coordinate and you can set it to top by passing the page height.
Provided code for Links Zoom levels, but
We are asking for the whole file,
find the screenshot below for your more clarification.
image.png (61.0 KB)
Help us to ASAP.
There is no way to retrieve the magnification property from initial view tab. We have logged an enhancement under the ticket ID PDFNET-44474 in our issue tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates.
Any updates on this issue
We are afraid this enhancement ticket has not been resolved yet. However, we have raised its priority to next level and will try to schedule it soon. We appreciate your patience and cooperation in this regard.