Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. //Add the documents
  2. //the title
  3. Paragraph para12 = wordDoc.Content.Paragraphs.Add(ref missing);
  4. para12.Range.Font.Size = 12;
  5. para12.Range.Font.Name = "Tahoma";
  6. para12.Range.Text = "Related Documents : " + Convert.ToChar(11);
  7. para12.Range.InsertParagraphAfter();
  8.  
  9. //add the hyperlink
  10. Hyperlinks theLinks = wordDoc.Hyperlinks;
  11. foreach (STRD_Stakeholder_Related_Document item in STRD)
  12. {
  13. string[] split = item.STRD_FilePath.Split('\');
  14.  
  15. para12.Range.Text = split.Last() + Convert.ToChar(11);
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement