Vote count: 0 I am building a Word File Content Analyser and I am stuck with the code, on how to check if a doc/docx file has Superscripts/Subscripts or Equations in the content. Code I have so far is: WordApp = new Microsoft.Office.Interop.Word.Application(); WordApp.DisplayAlerts = WdAlertLevel.wdAlertsNone; WordApp.AutomationSecurity = MsoAutomationSecurity.msoAutomationSecurityForceDisable; WordApp.Visible = false; WordApp.Options.SaveInterval = 0; Document DocObj = WordApp.Documents.Open(FileName, OpenAndRepair: false, NoEncodingDialog: true, ConfirmConversions: false, ReadOnly: true, PasswordDocument: "dummy", PasswordTemplate: "dummy"); PageCount = DocObj.ActiveWindow.ActivePane.Pages...
ادامه مطلب