AddNote
Adds a footnote or an endnote. Add the note text to the note's Note.Blocks.
| myInlineCollection.AddNote(noteType: ( "Endnote" | "Footnote" ), options?: object):Note
|
Parameters
( "Endnote" | "Footnote" ) noteType
'Footnote' or 'Endnote'.
object options optional
Note properties to set.
Returns
The new note.
Examples
| var writer = new Writer();
var paragraph = writer.Sections.Add().Blocks.AddParagraph();
paragraph.Inlines.AddRun({ Text : 'Prices include VAT' });
var note = paragraph.Inlines.AddNote('Footnote');
note.Blocks.AddParagraph().Inlines.AddRun({ Text : 'VAT rate at the order date.' });
|
See Also