RichTextBox 建構函式

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

命名空間:  Microsoft.Office.Tools.Excel.Controls
組件:  Microsoft.Office.Tools.Excel.v4.0.Utilities (在 Microsoft.Office.Tools.Excel.v4.0.Utilities.dll 中)

語法

'宣告
Public Sub New
public RichTextBox()

備註

Do not use the New constructor to create a new RichTextBox. Use the AddRichTextBox() method to add a new RichTextBox to the worksheet. For more information, see 在執行階段將控制項加入至 Office 文件.

.NET Framework 安全性

請參閱

參考

RichTextBox 類別

RichTextBox 多載

Microsoft.Office.Tools.Excel.Controls 命名空間