Office.ExtensionLifeCycle interface

提供在加载项运行时管理 Office 外接程序用户界面的选项。

注解

要求集TaskPaneAPI 1.1

示例

// Adjust the width of the task pane.
const width = 500;
Office.extensionLifeCycle.taskpane.setWidth(width);

属性

taskpane

获取一个对象,该对象表示外接程序的任务窗格。

属性详细信息

taskpane

获取一个对象,该对象表示外接程序的任务窗格。

taskpane: TaskPane;

属性值

注解

要求集TaskPaneAPI 1.1