Freigeben über


MonthCalendar.Shape Property

Gets the underlying Shape of the MonthCalendar.

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

Syntax

'Declaration
Public ReadOnly Property Shape As Shape
public Shape Shape { get; }

Property Value

Type: Microsoft.Office.Interop.Word.Shape
The underlying Shape of the MonthCalendar.

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

MonthCalendar Class

Microsoft.Office.Tools.Word.Controls Namespace