VintaSoft PDF .NET Plug-in Discussions
Questions, comments and suggestions concerning VintaSoft PDF .NET Plug-in.
Board index < VintaSoft Imaging < VintaSoft PDF .NET Plug-in Discussions
var pdf = new PdfDocument(file);
var sb = new StringBuilder();
for (int iPage = 0; iPage < pdf.Pages.Count; iPage++)
{
var page = pdf.Pages[iPage];
foreach (var textRegionLine in page.TextRegion.Lines)
foreach (var symbol in textRegionLine.Symbols)
{
//Compare fonts with allowed ones and add the symbol to the StringBuilder
}
}
pdf.Dispose();
pdf.ClearCache();
An here is what I get (just a part of the output):