// In your add-in, these should be created once, outside the function. const topHeaderProps: Excel.SettableCellProperties = { // The style property takes a string matching the name of an Excel style. // Built-in style names are listed in the `BuiltInStyle` enum. // Note that a ...
await context.sync(); console.log(JSON.stringify(builtInProperties, null, 4)); }); saved 指示是否已保存在文档中所做的更改。 如果值为 true,表示文档自上次保存以来并未更改。 TypeScript 复制 readonly saved: boolean; 属性值 boolean 注解 [ API 集:WordApi 1.1 ]sections...
// In your add-in, these should be created once, outside the function. const topHeaderProps: Excel.SettableCellProperties = { // The style property takes a string matching the name of an Excel style. // Built-in style names are listed in the `BuiltInStyle` enum. // Note that a ...