The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
GMGeetha M Syncfusion Team June 6, 2011 05:11 AM UTC
Hi Jani,
Thank you for your interest in Syncfusion products.
It is not possible to set the viewer magnification at DocumentProperties. But you can view the document to FitPage using the following JavaScriptAction set to document: PdfJavaScriptAction action = new PdfJavaScriptAction("this.zoomType = zoomtype.fitP;"); document.Actions.AfterOpen = action;
Please note that this does not change the viewer magnifiction at DocumentProperties.
Please let me know if you have any questions.
Regards, Geetha
JGJani GiannoudisJune 6, 2011 08:25 AM UTC
Hi Geetha
Unfortunately JavaScript is - for security reasons - not an alternative.
Cheers, Jani
GMGeetha M Syncfusion Team June 7, 2011 05:46 AM UTC
Hi Jani,
Thank you for the update.
Currently it is not possible to set viewer magnification without using DocumentOpenAction.