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