CaptionlessTableOfFiguresLabel
FieldToc.CaptionlessTableOfFiguresLabel property
获取或设置构建不包含标题标签和编号的图表时使用的序列标识符的名称。
public string CaptionlessTableOfFiguresLabel { get; set; }
例子
显示如何设置序列标识符的名称。
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
FieldToc fieldToc = (FieldToc)builder.InsertField(FieldType.FieldTOC, true);
fieldToc.CaptionlessTableOfFiguresLabel = "Test";
Assert.AreEqual(" TOC \\a Test", fieldToc.GetFieldCode());
也可以看看
- class FieldToc
- 命名空间 Aspose.Words.Fields
- 部件 Aspose.Words