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

Free Support Forum - aspose.com

setFixHeight/setFixWidth

Hi support,

The methods setFixHeight and setFixWidth are not having effect when the float parameter is 0.
Regards,
Milan

Hi Milan,

Setting width or height to 0 is not supported currently. If the width or height is 0, the image should not be displayed. As a workaround, you can set the image to be disabled.

img.setDisabled(true);