ShapeBaseAllowOverlap Property |
Namespace: Aspose.Words.Drawing
This property affects behavior of the shape in Microsoft Word. Aspose.Words ignores the value of this property.
This property is applicable only to top level shapes.
The default value is true.
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); }