C# Sample code for generating DOTM documents. Use this code for creating Word DOTM files within VB.NET, Asp.NET or any .NET based application.... Update elements using the DocumentBuilder...Change formatting for next elements. fnt.Underline = Underline...