Share via


Button.InlineShape Property

Gets the underlying InlineShape of the Button.

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 ReadOnly Property InlineShape As InlineShape
public InlineShape InlineShape { get; }

Property Value

Type: Microsoft.Office.Interop.Word.InlineShape
The underlying InlineShape of the Button.

Remarks

The InlineShape property enables you to get the exact position of the control on the document.

If the wrapping style of the control is not set to In line with text, the InlineShape property returns nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

Button Class

Microsoft.Office.Tools.Word.Controls Namespace