ControlSite.Shape Property

Gets the underlying Shape of the ControlSite.

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

Shape Shape { get; }

Property Value

Type: Microsoft.Office.Interop.Word.Shape
The underlying Shape of the ControlSite.

You can use the Shape property enables you get the exact position of the control on the document.

If the wrapping style of the control is set to In line with text, the Shape property returns null.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft