Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8952019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:46:47+00:00 2026-06-15T13:46:47+00:00

I’d like to use a background image, and when I put it in Reporting

  • 0

I’d like to use a background image, and when I put it in Reporting Services 2008 R2, the image dpi is reduced to 96 dpi. (instead of 300)

That’s too low to be readable by the user, I fear.

When I go on the Internet, I find this result :

http://social.technet.microsoft.com/Forums/en-US/sqlreportingservices/thread/48de91f9-1844-40c1-9614-5ead0b4b69a5#P1Q14

Question 14: How to improve PDF quality of the report exported in Reporting Services 2005?

Answer: The PDF renderer in Reporting Services 2005 resizes all images that it is given at 96 DPI no matter what DPI the image is when
you pass it to the renderer. That means that a 300 DPI image or even a
600 DPI image will be sized in the PDF as if it is only 96 DPI. In
other words, your high DPI image may render larger than expected.
Despite sizing the images as if they were 96 DPI, the PDF renderer
appears to render higher DPI images at a higher quality than 96 DPI.
Even if the sizing being wrong, the image actually is rendering at a
higher quality. A necessary workaround is to size the image to the
proper number of inches based on 96 DPI calculations. Then use
Bitmap.SetResolution to set the images to at least 300 DPI. That may
provide a higher quality image that is the proper number of pixels to
fit properly in the report.

But I don’t know how to use that Bitmap.SetResolution, I’m using the classic report viewer web control and I need really a fully functional pdf export.

PS : Maybe that issue is resolved in Reporting Services 2012. Does someone has some informations ?

Regards

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T13:46:48+00:00Added an answer on June 15, 2026 at 1:46 pm

    I found a webpage which explain how to export PDF with a good dpi. http://codeproject.com/Articles/95750/High-fidelity-printing-through-the-SSRS-Report-Vie

    The key is to initialize the deviceInfo string with a xml code

           var sb = new System.Text.StringBuilder(1024);
           var xr = System.Xml.XmlWriter.Create(sb);
           xr.WriteStartElement("DeviceInfo");
           xr.WriteElementString("DpiX", "296");
           xr.WriteElementString("DpiY", "296");
           xr.Close();
    
            deviceInfo = sb.ToString();
    
            rsExec.SetExecutionParameters(parameters, "fr-fr");
    
            results = rsExec.Render(format, deviceInfo,
                      out extension, out encoding,
                      out mimeType, out warnings, out streamIDs);
    

    In this case, this solution works. I can generate a pdf file with the good dpi BUT the print button with activex doesn’t work (this shouldn’t be a problem) and the export button either. I have to add a download button to print. that’s a partial solution imho

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
For some reason, after submitting a string like this Jack’s Spindle from a text
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I am trying to understand how to use SyndicationItem to display feed which is
I have a small JavaScript validation script that validates inputs based on Regex. I
I would like to run a str_replace or preg_replace which looks for certain words
I am trying to render a haml file in a javascript response like so:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.