title: Crystal reports barcode shrink when generate pdf from asp.net mvc
body: <p>I am using following code to generate pdf from crystal report in ASP.NET MVC platform</p>
  
  <pre><code> [HttpGet]
      public ActionResult ClassCard()
      {
  
          ReportDocument rd = new ReportDocument();
  
          rd.Load(Path.Combine(Server.MapPath("~/Reports"), "ClassCard.rpt"));
          rd.SetParameterValue("ClassName", "Kandy");
          rd.SetParameterValue("Type", "Group Theory");
          rd.SetParameterValue("year", "2016");
          rd.SetParameterValue("Student", "KDG0012");
  
  
  
  
          rd.SetDatabaseLogon("DB_74931_rmsecon_user", "snb123");
  
  
          Response.Buffer = false;
          Response.ClearContent();
          Response.ClearHeaders();
          try
          {
              Stream stream = rd.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);
              stream.Seek(0, SeekOrigin.Begin);
              return File(stream, "application/pdf", "EverestList11.pdf");
          }
          catch (Exception ex)
          {
              throw ex;
          }
  
  
  
      }
  </code></pre>
  
  <p>this give me pdf as below</p>
  
  <p><a href="https://i.stack.imgur.com/hB2Qi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hB2Qi.png" alt="enter image description here"></a></p>
  
  <p>but as you see the barcode is shrinked ,how im solve this problem in ASP.NET MVC enviroment </p>
  
  <p>i saw most people say add registy key ,but i cannot do this coz this is asp.net mvc web application and im going host this app on sheared server </p>
  
  <p>if im Add below regiter keys the problem will solve only for if im generate crystal report in local desktop app</p>
  
  <p><a href="https://i.stack.imgur.com/RdQH0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RdQH0.png" alt="enter image description here"></a></p>