Note and notelocation

Hi. I am trying to understand how to set Notelocation option?
https://www.gemboxsoftware.com/document/docs/GemBox.Document.NoteLocation.html
Please any code sample with “BelowText” or “EndOfSection”?

Thanks

Hi,

That option can be set on the whole DocumentModel or on the individual Section.
For example:

var document = DocumentModel.Load("input.docx");

document.Settings.Footnote.Location = NoteLocation.BelowText;

document.Sections[0].FootnoteSettings.Location = NoteLocation.BelowText;

document.Save("output.docx");

I hope this helps.

Regards,
Mario