View the JsFrameworkExcerpt.docx used by other samples

DOCX PDF TIFF SVG JPG PNG C# VB
JsFrameworkExcerpt.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 original
  11. // JsFrameworkExcerpt.docx document used by some other samples
  12. // that demonstrate changing the content of a document.
  13. public class JsFrameworkExcerpt
  14. {
  15. public GcWordDocument CreateDocx()
  16. {
  17. GcWordDocument doc = new GcWordDocument();
  18. doc.Load(Path.Combine("Resources", "WordDocs", "JsFrameworkExcerpt.docx"));
  19. return doc;
  20. }
  21. }
  22. }
  23.