TableAllowOverlap Property

Gets whether a floating table shall allow other floating objects in the document to overlap its extents when displayed. Default value is true.

Namespace:  Aspose.Words.Tables
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public bool AllowOverlap { get; }

Property Value

Type: Boolean
Examples
Shows how get properties for floating tables
Document doc = new Document(MyDir + "Table wrapped by text.docx");

Table table = (Table) doc.GetChild(NodeType.Table, 0, true);

if (table.TextWrapping == TextWrapping.Around)
{
    Assert.AreEqual(RelativeHorizontalPosition.Margin, table.HorizontalAnchor);
    Assert.AreEqual(RelativeVerticalPosition.Paragraph, table.VerticalAnchor);
    Assert.AreEqual(false, table.AllowOverlap);
}
See Also