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

Free Support Forum - aspose.com

Set DPI of image

Hello, Is it possible to set DPI of image when I insert. When I insert image based on insertImage method I can provide image size but not scale of image. I want to modify image resolution in time on inserting it to Word document. Is it possible?

@PROCUREMENT2 There is no direct way to set resolution of inserted image. However, you can use for example System.Drawing API to adjust your image before insertion and then use DocumentBuilder.InsertImage method overload that accepts System.Drawing.Image as a parameter.