Picture content control auto scaling


I’m using a Picture content control in MS word to insert an image using Aspose.Words for .NET. It seems to be working fine however, the image doesn’t seem to scale properly. My question is, is there a setting inside of Word for this picture content control that I can enable that allows it to auto scale to the image? Or is there an option inside of the Aspose suite that would enable this as well? Thank you

(The picture for reference)
image.png (3.0 KB)


Thanks for your inquiry. To ensure a timely and accurate response, please ZIP and attach the following resources here for testing:

  • Your simplified input Word document
  • Aspose.Words 18.11 generated output DOCX file showing the undesired behavior
  • Your expected DOCX Word document. We will investigate the structure of your expected document as to how you want your final output be generated like. You can create expected document by using MS Word.
  • Please also create a standalone simple console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing. Please do not include Aspose.Words.dll files in it to reduce the file size.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.