Udostępnij za pośrednictwem


DateTimePicker.Shape Property (2007 System)

Gets the underlying Shape of the DateTimePicker.

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

Syntax

'Declaration
Public ReadOnly Property Shape As Shape
'Usage
Dim instance As DateTimePicker 
Dim value As Shape 

value = instance.Shape
public Shape Shape { get; }
public:
property Shape^ Shape {
    Shape^ get ();
}
public function get Shape () : Shape

Property Value

Type: Shape
The underlying Shape of the DateTimePicker.

Remarks

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 nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

DateTimePicker Class

DateTimePicker Members

Microsoft.Office.Tools.Word.Controls Namespace