跳到主要内容

StyleType

用于文档元素的样式类型。

类型

枚举

  • "paragraph"
  • "table"
  • "run"
  • "numbering"

示例

This example assigns the default document paragraph style to the 'oNormalStyle' variable.

// How to get a default style of the paragraph from the document.

// Return a paragraph default style.

let normalStyle = doc.GetDefaultStyle("paragraph");