I have tried to create a document from scratch that repeats the issue, without success, but these return from the call almost instantly.
This is the code that I am using that recreates the issue.
- Code: Select all
public void DocWithEmbeddedPDF()
{
Document doc = new Document();
string strFileName = @"3056036B-NI_Select_Changes.doc";
doc.LoadFromFile(strFileName);
Console.WriteLine($"Processing: {strFileName}");
Console.WriteLine($"File Contains Macros:\t{doc.IsContainMacro}");
Console.WriteLine($"Number of Pages:\t{doc.PageCount}");
Console.WriteLine($"Test Completed");
}
I will send the file that recreates the issue to the support email address and reference this item.
Let me know if you need anything further,
Darren.