خرید بک لینک

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.Count;

I know that I have to use Ranges() to select the ranges but I don't know how to do with it.

Also, the equations are those which are created using Insert/Equations panel.

asked 37 secs ago

برچسب: word interop,word interop c,word interop save as pdf,word interop open document,word interop range,word interop saveas,word interop selection,word interop saveas2,word interop table,word interop open document c, نویسنده: استخدام کار تاريخ: يکشنبه 18 مهر 1395 ساعت: 21:50

صفحه بندی