Footnote

Hi Aspose,
is possibile to insert footnote with reference '’ between two words? for example : first_word footnote_reference second_word.
Thanks

Hello
Thanks for your request. Please try using the following code:

Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.Write("Some text");
builder.InsertFootnote(FootnoteType.Footnote, "Footnote text.");
builder.Write("Some text2");
builder.InsertFootnote(FootnoteType.Footnote, "Footnote text2.");
doc.Save("C:\\Temp\\out.doc");

https://reference.aspose.com/words/net/aspose.words/documentbuilder/insertfootnote/
If it does not help, could you please attach expected document here for testing.
Best regards,

Hi Andrey,

I must to replace text( * ) with footnote after a command builder.insertHtml("<b>text</b>")

Thanks

Hello
Thanks for your inquiry. I think in your case you can try using IReplacingCallback. Please see the following link for more information:
https://reference.aspose.com/words/net/aspose.words.replacing/ireplacingcallback/
Please let me know in case of any issues. I will be glad to help you.
Best regards,