Hi, I have a question about setting the size properties of shapes in Aspose.Words. Is that something you can help with?
I’m struggling with setting the size properties on shapes. I assumed the property values are points, but the point values I set are not the ones I see when I look at the shape objects in the Word document.
For example, if I set “shape.Width = 100;”, the actual width of the shape in points is 573,75 pt
I assume I’m missing something obvious here about the metric/scale that I need to use to control size properties…?
Just to ensure we are looking at the same thing:
I set the shape.width (of a textbox) to 100 in aspose.words code.
Then I open the generated Word document, right click on the textbox shape and select “Format text box”.
In that dialog box I then see Width (absolute) set to 573,75
Is that the issue you could not find to be shared?
should it be the case that the width (and height) value set in code is exactly the same as what we see in the Word document?
This message was posted using Email2Forum by Tahir Manzoor.