Aspose::Words::Tables::Table::get_DistanceRight method
Table::get_DistanceRight method
Gets or sets distance between table right and the surrounding text, in points.
double Aspose::Words::Tables::Table::get_DistanceRight()
Examples
Shows the minimum distance operations between table boundaries and text.
auto doc = MakeObject<Document>(MyDir + u"Table wrapped by text.docx");
SharedPtr<Table> table = doc->get_FirstSection()->get_Body()->get_Tables()->idx_get(0);
ASPOSE_ASSERT_EQ(25.9, table->get_DistanceTop());
ASPOSE_ASSERT_EQ(25.9, table->get_DistanceBottom());
ASPOSE_ASSERT_EQ(17.3, table->get_DistanceLeft());
ASPOSE_ASSERT_EQ(17.3, table->get_DistanceRight());
See Also
- Class Table
- Namespace Aspose::Words::Tables
- Library Aspose.Words for C++