//I only have one paragraph Range _range = pDoc.Paragraphs[1].Range; for (int i = 1; i <= _range.Words.Count; i++) { if (pDoc.Paragraphs[1].Range.Words[i].Text.EndsWith("##")) //some parsing to remove the '##' and get the number pDoc.Footnotes.Add(_range.Words[i].Characters[1], ref missing, ref text); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)