Thanks for your inquiry. Unfortunately, currently text frames are not fully supported by Aspose.Words and you can not change height/width of a text frame by using Aspose.Words. A request for this feature has been added. For reference, your request has been linked to this New Feature Request. You will be notified as soon as it is available. Sorry for inconvenience.
thanks for your answer. But I don’t want to change the width and height. Let me explain what we want to do. In our application we have mergefields in tablecells, textfields or text frames. We want to search for this mergefields and scale the merged images to the width and height of their containers. For cells and shapes I have got an example from your colleagues. But we have some word documents with text frames as containers. (no we can’t change to textfields). So I have to found a solution similar to cells and shapes.
Hi Manfred,
Thanks for your request. As Awais mentioned, currently, there is not API that allows working with text frames in Aspose.Words. We will consider adding such API in future. But you should note that text frames are obsolete and that is why this is not a very popular feature.
Best regards,
Hi Manfred,
Thank you for additional information I understand that you need only these values. But unfortunately, currently there is no way to get them for frames.
Best regards,