This blog post is to announce the release of DocX version 184.108.40.206. I spend a lot of time re-factoring the library for this release. I have renamed a lot of functions to give a more consistent implementation. I have also created a (.chm) documentation file which contains lots of useful examples.
The .chm documentation
If you open up the documentation file and you see the message Navigation to the webpage was cancelled like the below screenshot.
Then you need to right click on the .chm file and select properties.
In the properties window, click unblock, then press apply and ok.
You should then be able to view the documentation and it should look like this.
The documentation contains lots of examples of how to use all of DocX’s features. If you find a mistake in the documentation or if you would like to add a code example that you have written please email me. If I think your example adds value to the documentation then I will gladly add it and mention you in the credits section.
Changes in this release
- Added two nwq overloads DocX.Load(System.IO.Stream) and Doc.Create(System.IO.Stream).
- DocX.AddParagraph has been renamed to InsertParagraph and now allows a users to insert a new Paragraph at a specified character index in the document, 4 overloads are available.
- DocX.Value has been renamed to DocX.Text.
- DocX.Save has been renamed to DocX.Close(bool saveChanges).
- Paragraph.Insert, Paragraph.Remove and Paragraph.Replace have been renamed to Paragraph.InsertText, Paragraph.RemoveText, Paragraph.ReplaceText, new overloads are also available.
- Paragraph.Value has been renamed as Paragraph.Text.
If you would like to send me feedback on DocX, or if you would like to make a suggestion for the next feature I implement, please email me at firstname.lastname@example.org.