SSRS Report - how to center align the exported PDF ?

sravya shivapuram 211 Reputation points
2021-12-14T21:40:18.077+00:00

Hi,

I have an SSRS report that renders perfectly fine in the report viewer but when exported to PDF, the report is left aligned. How can I change this alignment so that the report is now in the center?

I modified the following tablix properties as shown in the screenshot below--

157596-image.png

But these settings didn't make much difference at all. Any help is greatly appreciated. Thank you in advance.

Regards
SLS

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
3,064 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Joyzhao-MSFT 15,636 Reputation points
    2021-12-15T05:58:44.023+00:00

    Hi @sravya shivapuram ,
    When you preview the report in ReportViewer, the report is rendered by the HTML Rendering Extension. After you export the report as a PDF file, you use the PDF rendering extension to open the report.

    You could customize rendering extension parameters in RSReportServer.Config, please make a backup in advance. In Reporting Services, device information settings are used to pass rendering parameters to a rendering extension. Each rendering extension accepts a specific set of settings.

    For more information, please refer to: PDF Device Information Settings.
    Customize Rendering Extension Parameters in RSReportServer.Config.
    Passing Device Information Settings to Rendering Extensions.
    Best Regards,
    Joy


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Olaf Helper 47,441 Reputation points
    2021-12-15T07:39:26.623+00:00

    I modified the following tablix properties as shown in the screenshot below

    That are the tablix properties, they don't have effect on the complete report as it.

    You can modify the border size of the report so that the tablix & rest content are in the middle of the page.
    Or you modify the tablix size so that it's in the middle of the page.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.