Welcome to the ASP.NET Core feedback portal. We’re happy you’re here! If you have feedback on how to improve the ASP.NET Core, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

page.Graphics.DrawRectangle(new PdfPen(Color.Blue) {DashStyle = PdfDashStyle.Dot}, myRectangle);

Draws a dotted line rectangle with default line thickness as expected, however

page.Graphics.DrawRectangle(new PdfPen(Color.Blue, 0) {DashStyle = PdfDashStyle.Dot}, myRectangle);

Seems to draw nothing and also block all drawing operations after it.
 

Expected: a rectangle with the same line thickness as:

page.Graphics.DrawRectangle(new PdfPen(Color.Blue, 0), myRectangle);

.. but with a dotted line.