If you became a customer of the Syncfusion� Reporting Platform or the Report Viewer, Report Designer, or Report Writer components before October 2019 and have questions related to those products, you can request support through our forum system. However, please note that this support system is only for existing customers who are still using the Syncfusion� Reporting Platform or its components and not for new customers looking for reporting products from Syncfusion�.

For new customers or those with general reporting questions, we recommend contacting our support team at https://support.boldreports.com/, which is a separate brand created by Syncfusion� for its reporting solutions. Our team will be happy to assist you with any questions you may have.

Thank you for choosing Syncfusion� for your reporting needs.

Bold Report export margins

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


10 Replies

MR Manoranjan Rajendran Syncfusion Team April 13, 2022 03:30 AM UTC

Hi Michel,


Using Pagesetting properties, we can change the report margins in the Blazor application. Please refer to the below documentation for this.

https://help.boldreports.com/embedded-reporting/javascript-reporting/report-viewer/api-reference/properties/pageSettings/#margins 

Include the page setting values in the boldreports-interop.js file in your application.


Regards,

Manoranjan R




ML Michael Lambert replied to Manoranjan Rajendran April 13, 2022 05:28 PM UTC

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



MR Manoranjan Rajendran Syncfusion Team April 15, 2022 10:51 AM UTC

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



MR Manoranjan Rajendran Syncfusion Team April 21, 2022 02:04 AM UTC

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



MR Manoranjan Rajendran Syncfusion Team May 2, 2022 12:18 PM UTC

Hi Mike,


We will include these fix changes in upcoming bi-weekly nuget, which was scheduled for May 25th, 2022.


Regards,

Manoranjan R



MR Manoranjan Rajendran Syncfusion Team June 6, 2022 03:28 AM UTC

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



MR Manoranjan Rajendran Syncfusion Team June 7, 2022 09:57 AM UTC

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



MR Manoranjan Rajendran Syncfusion Team June 29, 2022 10:07 AM UTC

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



MR Manoranjan Rajendran Syncfusion Team July 14, 2022 09:03 AM UTC

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



MR Manoranjan Rajendran Syncfusion Team July 28, 2022 08:18 AM UTC

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


Loader.
Up arrow icon