CreateNoteHyperlinks

指定是否将正文故事中的脚注/尾注引用转换为活动超链接。 单击时,超链接将指向相应的脚注/尾注。 默认为错误的.

public bool CreateNoteHyperlinks { get; set; }

例子

演示如何使脚注和尾注充当超链接。

Document doc = new Document(MyDir + "Footnotes and endnotes.docx");

// 创建一个“PdfSaveOptions”对象,我们可以将其传递给文档的“Save”方法
// 修改该方法将文档转换为 .PDF 的方式。
PdfSaveOptions options = new PdfSaveOptions();

// 将“CreateNoteHyperlinks”属性设置为“true”以打开所有脚注/尾注符号
// 在文本中充当链接,单击后将我们带到各自的脚注/尾注。
// 将“CreateNoteHyperlinks”属性设置为“false”,不让脚注/尾注符号链接到任何内容。
options.CreateNoteHyperlinks = createNoteHyperlinks;

doc.Save(ArtifactsDir + "PdfSaveOptions.NoteHyperlinks.pdf", options);

也可以看看