Share via


RichTextBox Constructor (2007 System)

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

Namespace:  Microsoft.Office.Tools.Excel.Controls
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
Public Sub New
'Usage
Dim instance As New RichTextBox()
public RichTextBox()
public:
RichTextBox()
public function RichTextBox()

Remarks

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 Adding Controls to Office Documents at Run Time.

.NET Framework Security

See Also

Reference

RichTextBox Class

RichTextBox Members

RichTextBox Overload

Microsoft.Office.Tools.Excel.Controls Namespace