跳到主要内容

TofStyle

图表目录样式的可能值。

类型

枚举

  • "simple"
  • "online"
  • "classic"
  • "distinctive"
  • "centered"
  • "formal"

示例

This example adds a table of figures of the distinctive style to the document.

// How to create a table of figures with distinctive style property.

// Create a property for table of figures indicating its style.

let tofStyle = "distinctive";
let tofPr = {
"ShowPageNums": true,
"RightAlgn": true,
"LeaderType": "dot",
"FormatAsLinks": true,
"BuildFrom": "Figure",
"LabelNumber": true,
"TofStyle": tofStyle
};
doc.AddTableOfFigures(tofPr);