Hi guys
I have some trouble with IronPdf sometimes scaling my content, is it possible to get access to the FitToPaperWidth setting?
All the best, Jesper
                                                            Hi guys
I have some trouble with IronPdf sometimes scaling my content, is it possible to get access to the FitToPaperWidth setting?
All the best, Jesper
                                                            
                            
                        Hi Jesper,
You can specify the settings like this...
var settings = new PdfRendererSettings() { FitToPaperWidth = false };
var renderer = new PdfRenderer(settings);
var pdf = renderer.RenderFromUrl(url);
Best regards,
Morten
                                                        
                        Hi Morten
Thanks, i have done that and seems to solve the problems have had with scaling.
It would be nice have it as a standard option when using standard DW to generate pdf's, and not having to implement all that in a parallel and almost identical service ;-)
All the best,
Jesper
                                                        
                        Do you think it is possible to get this option in a release in a near future?
                                                        
                        Yes, no, maybe? :)
You must be logged in to post in the forum