We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to get and set "Distance from surrounding text" using .NET


It looks like from Aspose.Words 20.1 it is now possible to set Horizontal and Vertical positioning of a table. What I’d like to achieve with that, is to set custom space before and after the table. But apparently to achieve spacing before/after the table, Top and Bottom fields in “Distance from surrounding text” need to be set also (highlighted in red in attached picture).

Could “Distance from surrounding text” properties be set for tables using Aspose.Words?

table_positioning.png (19.8 KB)


Unfortunately, Aspose.Words does not support the requested feature at the moment. However, we have logged this feature request as WORDSNET-20214 in our issue tracking system. You will be notified via this forum thread once this feature is available.

We apologize for your inconvenience.

1 Like