Share via


RichTextBox Constructor

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

Namespace:  Microsoft.Office.Tools.Word.Controls
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

Syntax

'Declaration
Public Sub New
public RichTextBox()

Remarks

Do not use the constructor to create a new RichTextBox. Use the AddRichTextBox() method to add a new RichTextBox to a document. For more information, see Adding Controls to Office Documents at Run Time.

.NET Framework Security

See Also

Reference

RichTextBox Class

RichTextBox Overload

Microsoft.Office.Tools.Word.Controls Namespace