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
Syntaxpublic bool AllowOverlap { get; }
Public ReadOnly Property AllowOverlap As Boolean
Get
public:
property bool AllowOverlap {
bool get ();
}
member AllowOverlap : bool with get
Property Value
Type:
Boolean
ExamplesShows 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