Hi!
I have to following code to compare pdf files:
public static class PDFCompareController
{
private static string licensePath = ConfigurationManager.AppSettings[“Workingdir”] + “/GroupDocs.Comparison.NET.lic”;
public static bool check(string bron, String doel, string result)
{
GroupDocs.Comparison.License license = new GroupDocs.Comparison.License();
license.SetLicense(licensePath);
ChangeInfo[] changes = null;
using (Comparer comparer = new Comparer(bron))
{
comparer.Add(doel);
comparer.Compare(result);
changes = comparer.GetChanges();
comparer.Dispose();
}
if (changes.Length > 0)
{
return false;
}
else
{
return true;
}
changes = null;
}
Compare seems to work but when
having documents with tables(i could send the docments i try to compare) i get the following exception: Page have not room to place a paragraphs.
I would like to have a fix for this.
kind regards,
Jeroen Bossenbroek