public RtfFootnote addFootnote(int position) { if (!_allowFootnote) { throw new Exception("Footnote is not allowed."); } RtfFootnote fnt = new RtfFootnote(position, _text.Length); _footnotes.Add(fnt); return(fnt); }
public RtfFootnote addFootnote(int position) { if (!_allowFootnote) { throw new Exception("Footnote is not allowed."); } RtfFootnote fnt = new RtfFootnote(position, _text.Length); _footnotes.Add(fnt); return fnt; }