ControlSite Interface

Represents a linked or embedded control on a document.

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)

[GuidAttribute("24D873D9-33D6-4CB9-8219-04F431C6D456")]
public interface ControlSite : IDisposable

The ControlSite type exposes the following members.

  NameDescription
Public propertyAltHTMLInfrastructure.
Public propertyAutomationInfrastructure.
Public propertyHeightGets or sets the height, in points, of the ControlSite.
Public propertyInlineShapeGets the underlying InlineShape of the ControlSite.
Public propertyLeftGets or sets the distance, in points, from the left edge of the ControlSite to the left edge of the document.
Public propertyNameGets or sets the name of the ControlSite.
Public propertyShapeGets the underlying Shape of the ControlSite.
Public propertyTopGets or sets the distance, in points, from the top edge of the ControlSite to the top of the document.
Public propertyWidthGets or sets the width, in points, of the ControlSite.
Top

  NameDescription
Public method_VtblGap1_2Infrastructure.
Public method_VtblGap2_2Infrastructure.
Public methodActivateActivates the ControlSite.
Public methodCopyCopies the ControlSite to the Clipboard.
Public methodCutCuts the ControlSite to the Clipboard.
Public methodDeleteDeletes the ControlSite.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public methodSelectSelects the ControlSite.
Top

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.

NoteNote

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.

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