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.
SSSathish Shankar Syncfusion Team July 14, 2021 05:37 PM UTC
Hi Luca,
PDF Viewer supports the customizing print size as Fit, ActualSize and CustomScale . If you want to change the print size in ratio you can use the CustomScale property. We have attached the code snippet for your reference.
// Scale percentage with the page to be resized and it is applicable only for Custom Scale. The default value is 100.
pdfviewer1.PrinterSettings.ScalePercentage = 120;
Please Let us know whether the solution is helpful or not. This information will help us to analyze much deeper on this and provide you a better solution.
With regards,
Sathish Shankar
LVluca vergaJuly 16, 2021 07:12 AM UTC
Yeah i know there's CustomScale but not my case.
I need Fit (automatically scale) but Fit actually strech e deform the image , i need Fit to Page that respect ratio between Width and Height like Adobe Acrobat Viewer do in print.
SSSathish Shankar Syncfusion Team July 19, 2021 06:45 PM UTC
Hi Luca,
Print size Fit option enlarges or reduces each page to fit the printable area of the selected paper size. This will maintain the aspect ratio based on the selected paper and PDF document actual size. Since we could suspect your reported issue on document specific. So we request you to kindly share the document with us to reproduce the issue from our end. This will help us to analyze more on this and provide you a better solution.
Regards,
Sathish Shankar
Need More Help?
Get personalized assistance from our support team.