Footnote endnote example
What you do is you right-click a footnote and choose Convert to Endnote, and then you'll scroll down here, and you'll see that the footnote is definitely now an endnote. You probably want to convert your footnotes to endnotes, so we'll go ahead and do that. If you wanted to insert an endnote, you could have done that by clicking the Insert Endnote button, but you probably didn't do that.
![footnote endnote example footnote endnote example](https://fthmb.tqn.com/seiLRa3WzltqLbSGp2Gm4uYq2wE=/400x0/filters:no_upscale()/1-56aa2cb83df78cf772ad0272.png)
Now, what if you want to change the location of a footnote? For example, let's say you wanted this footnote to be at the end of the document. Here's the footnote number, this superscript three, and the corresponding note for that footnote is at the bottom of this page here, okay? Here's that corresponding footnote. Footnotes are put at the bottom of the page that they are on. AppendText ( "AdventureWorks Cycles, the fictitious company on which the AdventureWorks sample databases are based, is a large, multinational manufacturing company." ) ‘ Saves and closes the Word document instance document. Bold = True 'Adds footnote text paragraph = endnote. AppendText ( "Sample content for endnotes" ). SuperScript 'Inserts the text into the paragraph paragraph.
![footnote endnote example footnote endnote example](https://docs.devexpress.com/WindowsForms/images/richedit-endnotes-insert.jpg)
Endnote ), WFootnote ) 'Sets the endnote character format endnote. AddParagraph () 'Appends the endnote Dim endnote As WFootnote = DirectCast ( paragraph. Heading1 ) 'Adds a paragraph to a section paragraph = section. AppendText ( "Working with endnotes" ) 'Formats the text paragraph. AddParagraph () 'Appends the text to paragraph paragraph. AddSection () 'Adds a paragraph to a section Dim paragraph As IWParagraph = section. 'Creates a new document Dim document As New WordDocument () 'Creates a section Dim section As IWSection = document. AppendText ( "AdventureWorks Cycles, the fictitious company on which the AdventureWorks sample databases are based, is a large, multinational manufacturing company." ) //Saves and closes the Word document instance document. Bold = true //Adds footnote text paragraph = endnote. SuperScript //Inserts the text into the paragraph paragraph. Endnote ) //Sets the endnote character format endnote. AddParagraph () //Appends the endnote WFootnote endnote = ( WFootnote ) paragraph. Heading1 ) //Adds a paragraph to a section paragraph = section. AppendText ( "Working with endnotes" ) //Formats the text paragraph. AddParagraph () //Appends the text to paragraph paragraph. AddSection () //Adds a paragraph to a section IWParagraph paragraph = section. Creates a new document WordDocument document = new WordDocument () //Creates a section IWSection section = document.
#Footnote endnote example how to
The following code example shows how to insert the endnotes into the Word document.
#Footnote endnote example download
You can download a complete working sample from GitHub. Using ( WordDocument document = new WordDocument ()) Bold = True 'Adds footnote text paragraph = footnote. AppendText ( "Sample content for footnotes" ). Footnote ), WFootnote ) 'Sets the footnote character format footnote. AddParagraph () 'Appends the footnotes Dim footnote As WFootnote = DirectCast ( paragraph. AppendText ( "Working with footnotes" ) 'Formats the text paragraph.
![footnote endnote example footnote endnote example](https://3.bp.blogspot.com/-OABJcRs2rBI/WrRMYNlIA8I/AAAAAAACJRw/-VHAiMnEgWolljXPeK6ZS-H5ETbPMQn9ACK4BGAYYCw/s1600/Screen%2BShot%2B2018-03-22%2Bat%2B8.37.21%2BPM.png)
'Creates a new Word document Dim document As New WordDocument () 'Creates a section Dim section As IWSection = document. Bold = true //Adds footnote text paragraph = footnote. Footnote ) //Sets the footnote character format footnote. AddParagraph () //Appends the footnotes WFootnote footnote = ( WFootnote ) paragraph. AppendText ( "Working with footnotes" ) //Formats the text paragraph.
![footnote endnote example footnote endnote example](https://images.techhive.com/images/article/2014/09/6-footnote-example-100453498-orig.png)
Creates a new Word document WordDocument document = new WordDocument () //Creates a section IWSection section = document.