Dela via


OLEControl.Top Property (2007 System)

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

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

Syntax

'Declaration
Public Property Top As Single
'Usage
Dim instance As OLEControl 
Dim value As Single 

value = instance.Top

instance.Top = value
public float Top { get; set; }
public:
property float Top {
    float get ();
    void set (float value);
}
public function get Top () : float 
public function set Top (value : float)

Property Value

Type: System.Single
The distance, in points, from the top edge of the OLEControl to the top of the document.

.NET Framework Security

See Also

Reference

OLEControl Class

OLEControl Members

Microsoft.Office.Tools.Word Namespace