Office 2010

Creates a text box. Returns a Shape object that represents the new text box.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

## Syntax

```Shape AddTextbox(
MsoTextOrientation Orientation,
float Left,
float Top,
float Width,
float Height
)
```

#### Parameters

Orientation
Type: Microsoft.Office.Core.MsoTextOrientation
The text orientation. Some of these constants may not be available to you, depending on the language support (U.S. English, for example) that you have selected or installed.
Left
Type: System.Single
The position, measured in points, of the left edge of the text box relative to the left edge of the slide.
Top
Type: System.Single
The position, measured in points, of the top edge of the text box relative to the top edge of the slide.
Width
Type: System.Single
The width of the text box, measured in points.
Height
Type: System.Single
The height of the text box, measured in points.

#### Return Value

Type: Microsoft.Office.Interop.PowerPoint.Shape