Share via


Rows.AllowOverlap Property

Returns or sets a value that specifies whether the specified rows can overlap other rows.

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

Syntax

'Declaration
Property AllowOverlap As Integer
    Get
    Set
'Usage
Dim instance As Rows
Dim value As Integer

value = instance.AllowOverlap

instance.AllowOverlap = value
int AllowOverlap { get; set; }

Property Value

Type: System.Int32

Remarks

This property returns wdUndefined if the specified rows include both overlapping rows and non-overlapping rows.

The value of the property can be set to either True or False.

Setting AllowOverlap to True also sets WrapAroundText to True. Setting WrapAroundText to False also sets AllowOverlap to False.

Because HTML doesn't support overlapping tables or shapes, AllowOverlap is ignored in Web layout view.

See Also

Reference

Rows Interface

Rows Members

Microsoft.Office.Interop.Word Namespace