ProcurementLetterTpl.cs
  1. //
  2. // This code is part of Document Solutions for Word demos.
  3. // Copyright (c) MESCIUS inc. All rights reserved.
  4. //
  5. using System.IO;
  6. using GrapeCity.Documents.Word;
  7.  
  8. namespace DsWordWeb.Demos
  9. {
  10. // The only point of this sample is to show the template
  11. // ProcurementLetterTpl.docx document used by the ReplaceInTemplate sample.
  12. public class ProcurementLetterTpl
  13. {
  14. public GcWordDocument CreateDocx()
  15. {
  16. GcWordDocument doc = new GcWordDocument();
  17. doc.Load(Path.Combine("Resources", "WordDocs", "ProcurementLetterTpl.docx"));
  18. return doc;
  19. }
  20. }
  21. }
  22.