Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files from any .NET platform (C#, VB.NET, ASP.NET, .NET Core) and Java applications (J2SE and J2EE) with fast and high quality performance.

Thu Mar 05, 2020 10:27 pm

I use Spire.doc v8.2.9
I have a table with dotted horizontal borders which are poorly rendered in PDF format.
See attachment

Code: Select all
// Test simple avec des bordures en pointillé, mal rendues dans la version PDF
    private readonly string fileNameBorduresTableau = "BorduresTableau.docx";
    internal void DoTestBorduresPointille()
      Document document = new Document(fileNameBorduresTableau);
      string outputDocx = Path.GetFileNameWithoutExtension(fileNameBorduresTableau) + $"{DateTime.Now:yyyy-MM-dd-HH-mm-ss}.docx";
      string outputPDF = Path.GetFileNameWithoutExtension(fileNameBorduresTableau) + $"{DateTime.Now:yyyy-MM-dd-HH-mm-ss}.pdf";
      document.SaveToFile(outputDocx, FileFormat.Docx);
      ToPdfParameterList toPdfParameterList = new ToPdfParameterList { UsePSCoversion = true };
      document.SaveToFile(outputPDF, toPdfParameterList);
You do not have the required permissions to view the files attached to this post.

Posts: 23
Joined: Sat Dec 14, 2019 12:50 am

Fri Mar 06, 2020 3:01 am


Thanks for your inquiry.
I have reproduced the issue and logged it in our bug tracking system with the ticket SPIREDOC-4018. We will let you know once there is any update.
Sorry for the inconvenience caused.

E-iceblue support team
User avatar

Posts: 3067
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.Doc