ControlSite Interface
TOC
Collapse the table of content
Expand the table of content

ControlSite Interface

 

Represents a linked or embedded control on a document.

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

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

NameDescription
System_CAPS_pubpropertyAltHTML

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubpropertyAutomation

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubpropertyHeight

Gets or sets the height, in points, of the ControlSite.

System_CAPS_pubpropertyInlineShape

Gets the underlying InlineShape of the ControlSite.

System_CAPS_pubpropertyLeft

Gets or sets the distance, in points, from the left edge of the ControlSite to the left edge of the document.

System_CAPS_pubpropertyName

Gets or sets the name of the ControlSite.

System_CAPS_pubpropertyShape

Gets the underlying Shape of the ControlSite.

System_CAPS_pubpropertyTop

Gets or sets the distance, in points, from the top edge of the ControlSite to the top of the document.

System_CAPS_pubpropertyWidth

Gets or sets the width, in points, of the ControlSite.

NameDescription
System_CAPS_pubmethodActivate()

Activates the ControlSite.

System_CAPS_pubmethodCopy()

Copies the ControlSite to the Clipboard.

System_CAPS_pubmethodCut()

Cuts the ControlSite to the Clipboard.

System_CAPS_pubmethodDelete()

Deletes the ControlSite.

System_CAPS_pubmethodDispose()

(Inherited from IDisposable.)

System_CAPS_pubmethodSelect()

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.

System_CAPS_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.

Return to top
Show:
© 2016 Microsoft