添加标题交叉引用当前段
名称 | 类型 | 默认 | 描述性 |
编程 | 标题Label字符串 | 标题标签(Equation,Fuore,Table或another标题标签) |
|
srefType | 标题RefTo | 文本或数字引用 |
|
OPara | spi段 | 标题段引用(必须在文档中引用)。 |
|
链接 | 布林安 | 真实性 | 指定引用是否插入为超链接 |
BAVEBELOU | 布林安 | 虚伪 | 指定上下字表示引用位置应包含(仅使用页NumssrefType) |
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0Var ODraining = Api.CreateImage.com/content/img/docbuildinger/examples/coorder_aspects.pngoParagraph.AddDrawing(oDrawing)!odeptes = Api.CreatelementsoDocument.Push(oParagraph)!odeceptition-Captition-Captition-Fire-defe-odeptes = Api.CreatelementsoDocument.Push(oParagraph)!odtext (Link to)var aCaptionParagraphs = oDocument.GetAllCaptionParagraphs("Figure")!oParagraph.AddCaptionCrossRef("Figure", "entireCaption", aCaptionParagraphs[0], true, false)!builder.SaveFile("docx", "AddCaptionCrossRef.docx")!builder.CloseFile();