Free Support Forum - aspose.com

Invalid row height after installing license

Hi,

We just purchased a license for Apose.Words. After setting the license, the red watermark disappears as expected, however all table rows I generate using the DocumentBuilder now have a minimal height of 2 inch. When I uncomment the lines that set the license, the red watermark text appear and the row height have the correct height again.

In the code that works correctly using the evaluation version I dont’t set a height for the rows.
To solve the problem I tried explicitly setting the HeightRule property of RowFormat to HeightRule.Auto. But this does not change anything. When I explicitly set a Height (e.g. 10) and set the HeightRule property of RowFormat to HeightRule.AtLeast my rows get the correct height.

Although the solution described above works for now, it feels like a hack that can cause me problems later on.

I’m using Apose.Words 8.

Regards,
Jaap-Willem

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Could you please attach your document here for testing? I will check the problem on my side and provide you more information.

Best regards,

Hi,

It’s part of a larger project. I will try to create an example.

Regards,
Jaap-Willem

Hi

Thank you for additional information. I will wait for your inputs.

Best regards.