You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* **Important**: The default width of the task pane of an add-in varies depending on the platform.
8610
+
*
8611
+
* - **Web (Excel)**: 350 px
8612
+
*
8613
+
* - **Web (Word)**: 330 px
8614
+
*
8615
+
* - **Windows**: 51 px
8616
+
*
8617
+
* If you pass a width beyond the minimum and maximum constraints, the task pane isn't resized and no error is shown.
8618
+
*
8619
+
* @param width The width of a task pane in pixels. The minimum and maximum constraints vary by platform. In Excel on the web, the width must be between
8620
+
* 350 and 500 px (inclusive). In Word on the web, the width must be between 330 and 500 px (inclusive). In Office on Windows, the width
8621
+
* must be between 51 px and 50% of the client window.
8622
+
*/
8623
+
setWidth(width: number): void;
8624
+
}
8577
8625
/**
8578
8626
* Represents a bound text selection in the document.
* **Important**: The default width of the task pane of an add-in varies depending on the platform.
8600
+
*
8601
+
* - **Web (Excel)**: 350 px
8602
+
*
8603
+
* - **Web (Word)**: 330 px
8604
+
*
8605
+
* - **Windows**: 51 px
8606
+
*
8607
+
* If you pass a width beyond the minimum and maximum constraints, the task pane isn't resized and no error is shown.
8608
+
*
8609
+
* @param width The width of a task pane in pixels. The minimum and maximum constraints vary by platform. In Excel on the web, the width must be between
8610
+
* 350 and 500 px (inclusive). In Word on the web, the width must be between 330 and 500 px (inclusive). In Office on Windows, the width
8611
+
* must be between 51 px and 50% of the client window.
8612
+
*/
8613
+
setWidth(width: number): void;
8614
+
}
8567
8615
/**
8568
8616
* Represents a bound text selection in the document.
0 commit comments