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

Free Support Forum - aspose.com

Merge Image Height/Width

Hi,

I am able to insert image via a merge field by using an Image: prefix and returning a byte array. Is there any way to specify the height and width for this image?

Thanks!

Hello

Thanks for your inquiry. In this case you can try using IFieldMergingCallback. Please see the following links to learn more:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.reporting.ifieldmergingcallbackmembers.html

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.reporting.ifieldmergingcallback.imagefieldmerging.html

Best regards,