Using embedded Bold Reports with Blazor. How do I default the PDF margins in code? Currently they default to 1", I'd prefer something like .25".
Thanks,
Mike
Hi Michel,
Using Pagesetting properties, we can change the report margins in the Blazor application. Please refer to the below documentation for this.
Include the page setting values in the boldreports-interop.js file in your application.
Regards,
Manoranjan R
Though this sets the defaults for the report, when I export it out to PDF or Word, those documents still have 1" margins. Seems when you export a report, it ignores the report margins and sets its own margins at 1". I need to have the same margins in both the report and exported (PDF, Word) document.
Thanks,
Mike
Hi Mike,
Thanks for the update.
We have validated the reported issue and were able to reproduce it. We will check and share the issue details on or before April 19th, 2022.
Regards,
Manoranjan R
Hi Mike,
We have logged the reported issue as a bug task. We will fix this issue in our upcoming releases. Please track this issue's status at the below feedback link.
https://www.boldreports.com/feedback/34290/margin-values-are-not-reflected-in-the-pdf-export
Regards,
Manoranjan R
Hi Mike,
We will include these fix changes in upcoming bi-weekly nuget, which was scheduled for May 25th, 2022.
Regards,
Manoranjan R
Hi Mike,
Sorry for the delay.
We are still checking with this issue's causes and will share the details on June 7th 2022.
Regards,
Manoranjan R
Hi Mike,
Sorry for the delay.
We will include this fix change in our upcoming release. which was scheduled for June 29th, 2022.
Regards,
Manoranjan R
Hi Mike,
Sorry for the delay.
Due to automation failures, we were not able to include this fix changes in today's weekly nuget. We will include this fix changes in our next weekly nuget release. which was scheduled for July 13th, 2022.
Regards,
Manoranjan R
Hi Mike,
Sorry for the delay.
We are still working to fix this issue. We will include these fix changes in our next weekly nuget release. which was scheduled for July 27th, 2022.
Regards,
Manoranjan R
Hi Mike,
We have completed this issue's fix. Now, the margin values are reflected in pdf and word exports as per their requirements. We have generated and attached the custom patch for the script and server side.
Please apply the below patch to your application and check the issue.
Please refer the below documentation for applying the patch.
https://help.boldreports.com/embedded-reporting/how-to/apply-custom-nuget-packages/
ASP.NET = > Bold Reports Web: https://www.syncfusion.com/downloads/support/directtrac/general/ze/BO812C~11344760688.zip
ASP.NET CORE => BoldReports NetCore : https://www.syncfusion.com/downloads/support/directtrac/general/ze/BOA803~1-2012934473.zip
Client side script => bold reportviewer min : https://www.syncfusion.com/downloads/support/directtrac/general/ze/BO817A~1-1455287694.zip
Regards,
Manoranjan R