Textbox borders not exporting to pdf properly.

3 posts, 1 answers
  1. Hunter
    Hunter avatar
    11 posts
    Member since:
    Apr 2013

    Posted 25 Jul 2013 Link to this post

    My textbox borders look good in the Designer and when printing to a printer, but when exported to PDF they are jagged, some bold looking, some not bold looking, etc. One thing I noticed is that when 2 textboxes are right night to each other and one has a right border and the other has no left border, "send to front" and "send to back" will determine how much the right border (divider) of the 2 textboxes will appear. So since my textboxes form the outside border of the entire report and also divide sections within the report. I am getting some lines bold and some lines not bold.

    Should I not be using "pt" if the report is primarily getting exported to PDF rather then sent to a printer from the web app.
    I already tried sending everything to front, size to grid, and zooming in like crazy on the grid. Still misaligned.

    Any tips possible would be great. 

  2. Answer
    Elian avatar
    435 posts

    Posted 30 Jul 2013 Link to this post

    Hello Hunter,

    Basically, if you want the reports to look good on the display, you need to specify the line widths in pixels using integers. If you calculate based on 96dpi, one point is 1.33 pixels. Since there is no uniform way to display 1.33 pixels on the display, each application decides on its own how to represent the line. This is the most common cause of borders appearing thinner or thicker depending on the zoom and scroll of the document. 
    Our recommendation is to set the border to 1px or 2px, for example. 


    Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

  3. DevCraft banner
  4. Hunter
    Hunter avatar
    11 posts
    Member since:
    Apr 2013

    Posted 01 Aug 2013 Link to this post

    Worked perfectly. Can't believe I didn't think of that!
Back to Top