Novacode.DocX.ApplyTemplate C# (CSharp) Method

ApplyTemplate() public method

Applies document template to the document. Document template may include styles, headers, footers, properties, etc. as well as text content.
The document template file not found.
public ApplyTemplate ( string templateFilePath ) : void
templateFilePath string The path to the document template file.
return void
        public void ApplyTemplate(string templateFilePath)
        {
            ApplyTemplate(templateFilePath, true);
        }

Same methods

DocX::ApplyTemplate ( Stream templateStream ) : void
DocX::ApplyTemplate ( Stream templateStream, bool includeContent ) : void
DocX::ApplyTemplate ( string templateFilePath, bool includeContent ) : void