Merge branch 'master' of https://github.com/Kableado/VAR.PdfTools
This commit is contained in:
@@ -333,6 +333,8 @@ namespace VAR.PdfTools.Workbench
|
||||
pdfPageRenderer.RenderColumn(columnData, bmp);
|
||||
string fileName = Path.Combine(baseDocumentPath, string.Format("{0}_{1:0000}.png", baseDocumentFilename, pageNum));
|
||||
bmp.Save(fileName, ImageFormat.Png);
|
||||
bmp.Dispose();
|
||||
GC.Collect();
|
||||
}
|
||||
columns.AddRange(columnData.Elements.Select(t => t.VisibleText));
|
||||
}
|
||||
@@ -370,6 +372,8 @@ namespace VAR.PdfTools.Workbench
|
||||
// Save image to disk
|
||||
string fileName = Path.Combine(baseDocumentPath, string.Format("{0}_{1:0000}.png", baseDocumentFilename, pageNum));
|
||||
bmp.Save(fileName, ImageFormat.Png);
|
||||
bmp.Dispose();
|
||||
GC.Collect();
|
||||
}
|
||||
|
||||
txtOutput.Lines = lines.ToArray();
|
||||
|
||||
Reference in New Issue
Block a user