This documentation is archived and is not being maintained.

CanvasShapes.AddLabel Method

Adds a text label to a drawing canvas.

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

Shape AddLabel(
	MsoTextOrientation Orientation,
	float Left,
	float Top,
	float Width,
	float Height
)

Parameters

Orientation
Type: MsoTextOrientation
The orientation of the text.
Left
Type: System.Single
The position, measured in points, of the left edge of the label relative to the left edge of the drawing canvas.
Top
Type: System.Single
The position, measured in points, of the top edge of the label relative to the top edge of the drawing canvas.
Width
Type: System.Single
The width of the label, in points.
Height
Type: System.Single
The height of the label, in points.
Show: