// For complete examples and data files, please go to https://github.com/aspose-words/Aspose.Words-for-C.git. auto doc = MakeObject<Document>(MyDir + u"Table wrapped by text.docx"); SharedPtr<Table> table = doc->get_FirstSection()->get_Body()->get_Tables()->idx_get(0); table->set_AbsoluteHorizontalDistance(10); table->set_RelativeVerticalAlignment(VerticalAlignment::Center); doc->Save(ArtifactsDir + u"WorkingWithTables.FloatingTablePosition.docx");