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