TableDistanceLeft Property

Gets distance between table left and the surrounding text, in points.

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

Property Value

Type: Double
Examples
Shows the minimum distance operations between table boundaries and text.
Document doc = new Document(MyDir + "Table wrapped by text.docx");

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

Assert.AreEqual(25.9d, table.DistanceTop);
Assert.AreEqual(25.9d, table.DistanceBottom);
Assert.AreEqual(17.3d, table.DistanceLeft);
Assert.AreEqual(17.3d, table.DistanceRight);
See Also