Share via


OLEControl.InlineShape Property (2007 System)

Gets the underlying InlineShape of the OLEControl.

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

Syntax

'Declaration
Public ReadOnly Property InlineShape As InlineShape
'Usage
Dim instance As OLEControl 
Dim value As InlineShape 

value = instance.InlineShape
public InlineShape InlineShape { get; }
public:
property InlineShape^ InlineShape {
    InlineShape^ get ();
}
public function get InlineShape () : InlineShape

Property Value

Type: InlineShape
The underlying InlineShape of the OLEControl.

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

OLEControl Class

OLEControl Members

Microsoft.Office.Tools.Word Namespace