This project has moved and is read-only. For the latest updates, please go here.

Express blocks

Aug 15, 2016 at 3:49 PM
Hello!

Please inform whether the ability to access the fields of express units have DocX in the library ?

in Word.Application
WordApp = New COMObekt ( "Word.Application");

this field Dok.FormFields
Aug 16, 2016 at 12:09 PM
to put it differently

In the Word we can get blocks like so -

using Word = Microsoft.Office.Interop.Word;

WordApp = New COMObekt ( "Word.Application");
Dok = WordApp.Documents.Add(path);
foreach (var d in Dok.FormFields)
{
var result = d; Now you need to find this field
}
how do I get in this field Dok.FormFields DocX.dll library docx codeplex library

using (DocX document = DocX.Load(@"C:\project\other\TEST.doc"))
    {
        //var t =document.Lists; or something similar           
    }
Aug 18, 2016 at 3:43 PM
Take a look at Examples that are attached to sources:

https://github.com/WordDocX/DocX/blob/master/Examples/Program.cs

Should get you going.
Marked as answer by MadBoy on 8/18/2016 at 7:43 AM