(ZipPackage)myWordDocument

Fun fact: MSOffice 2013+ documents are compressed archives, a.k.a. zip files. They’re built and manipulated using the same System.IO.Packaging namespace that’s used by¬†SQL Server Data Tools to make dacpacs.

Advertisements