Hello,
My need is to know if a shape contains a table or not. As table is not considered as a child of the shape, i would like to get this information by comparing their bounds
This message was posted using Aspose.Live 2 Forum
Hello,
My need is to know if a shape contains a table or not. As table is not considered as a child of the shape, i would like to get this information by comparing their bounds
This message was posted using Aspose.Live 2 Forum
Hello!
Thank you for your inquiry.
If these table and shape are unrelated then it isn’t a good idea to analyze their bounds to check whether the table fits in the shape. This is quite complex and not reliable.
Please attach you document here and explain what you are going to do in more details. We’ll investigate your case and probably advise an easier solution.
Regards,
Hello,
Thank you for your answer. Nice to read that there is a easier solution. Please, find in attachment an explanation of my need.
For my knowledge, is there a way to get the table bounds?
Thanks
Thank you for your explanation.
This is not what Aspose.Words is originally intended for. We cannot measure vertical size of a table as well as anything else because it’s a rendering task. But Aspose.Words doesn’t perform rendering when working with document model. But I tried two approaches which could be helpful. Nothing is impossible.
These two are only ideas. I can repeat that in MS Word and Aspose.Words there is no standard approach to achieve what you need.
Regards,