mercredi 1 juin 2016

Can PDFsharp help me detect overlapping text?

Question: Given a PDF file, can I (easily) check for overlapping text using PDFsharp (or another .NET compatibly PDF library)?


Background: I am writing unit tests for our reporting component. Reports are generated as PDF files, using both the PDF rendering component of RDLC reports as well as direct PDF output with PdfSharp.

In my unit tests, I want to test these reports using different data sets and languages and find out whether there is overlapping text. At the moment, the unit tests just export PDFs for every combination I want to test and someone has to manually look through them. I'd like to automate that.

Aucun commentaire:

Enregistrer un commentaire