InternalMargins of a textbox should be in points

Hi,

I’m using Aspose Words for Java, version 16.7

The API calls to get or set the InternalMargins of a TextBox (left, right, bottom and top) should be in points but and that was true in earlier versions, but at least in the version I actally use (16.7) API TextBox.getInternalMargin… returns a value that is more than 12000 times bigger than it should be.
It this a known error?

best regards,
Ariene K. in Amsterdam

@Ariene_Kroeze,

Thanks for your inquiry. Could you please ZIP attach your input Word document here for testing? We will investigate the issue on our side and provide you more information.

Great that you answered so fast!
In the attached document you will find a shape node. The values of the internal margins of the TextBox of the shape are far too big. (It should be 21.6 for the left margin, the value that the API (ShapeNode.getTextBox().getInternalMarginLeft()) returns is 274320).

Best regards…

Ariene
Aspose_InternalMarge.zip (69.0 KB)

@Ariene_Kroeze,

Thanks for sharing the document. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-15709. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

@Ariene_Kroeze,

The issues you have found earlier (filed as WORDSNET-15709) have been fixed in this Aspose.Words for .NET 17.8 update and this Aspose.Words for Java 17.8 update.