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.
public ApplyTemplate ( Stream templateStream ) : void
templateStream Stream The stream of the document template file.
return void
        public void ApplyTemplate(Stream templateStream)
        {
            ApplyTemplate(templateStream, true);
        }

Same methods

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