Free Support Forum - aspose.com

Inconsistent rendering of shapes

Hi,


I attach a program where we attempt to add a watermark to a document by loading it into Aspose, and then adding a Shape to the document containing the watermark. The program then saves the output as a Word document, a tif, and as an XPS.

However, in the Word document, the height and width of the watermark appear to be swapped.

I have also attached the output generated by the program. As far as I know we are using the most recent version of Aspose.Words.

Are we generating our shape incorrectly or is this a rendering bug?

Kind regards,

Will Holley

Hi

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

Thanks for your inquiry. Please try using another rotation angle. Use 45 or 315 degrees, for example. In this case, shape should be displayed correctly in both in Word and in XPS.

Please let me know if this helps.

Best regards,

Thanks Alexey - changing the angle from -45 to 315 has solved the problem.


Will