We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

SetWidth & SetHeight Values swapped for Word 2007 and Word 97-2003 file format

Hi,

Using the example provided by Aspose for setting watermark in word document has an odd behavior between Word 97-2003 file format and Word 2007 file format.

The values for Shape.SetHeight()... & Shape.SetWidth() have to be swapped to get the sample working in Word 97-2003 file format. The sample works fine if the file being generated is in for Word 2007 file format.

Any idea when this bug will be fixed?

Thanks,

Baskar

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.

Best regards,

Thank you. Setting the rotational angle to 315 resolve this issue.