ControlSite Interface
Visual Studio 2012
Represents a linked or embedded control on a document.
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)
The ControlSite type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AltHTML | Infrastructure. |
![]() | Automation | Infrastructure. |
![]() | Height | Gets or sets the height, in points, of the ControlSite. |
![]() | InlineShape | Gets the underlying InlineShape of the ControlSite. |
![]() | Left | Gets or sets the distance, in points, from the left edge of the ControlSite to the left edge of the document. |
![]() | Name | Gets or sets the name of the ControlSite. |
![]() | Shape | Gets the underlying Shape of the ControlSite. |
![]() | Top | Gets or sets the distance, in points, from the top edge of the ControlSite to the top of the document. |
![]() | Width | Gets or sets the width, in points, of the ControlSite. |
| Name | Description | |
|---|---|---|
![]() | _VtblGap1_2 | |
![]() | _VtblGap2_2 | |
![]() | Activate | Activates the ControlSite. |
![]() | Copy | Copies the ControlSite to the Clipboard. |
![]() | Cut | Cuts the ControlSite to the Clipboard. |
![]() | Delete | Deletes the ControlSite. |
![]() | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) |
![]() | Select | Selects the ControlSite. |
A ControlSite is returned when you use the AddControl method to add a control to a document. For more information, see Adding Controls to Office Documents at Run Time.
Note |
|---|
| This interface is implemented by the Visual Studio Tools for Office runtime. It is not intended to be implemented in your code. For more information, see Visual Studio Tools for Office Runtime Overview. |
.gif?cs-save-lang=1&cs-lang=vb)
.gif?cs-save-lang=1&cs-lang=vb)
Note