Cropping image like Word do with Aspose.Words

Hi,

Is it possible to set cropping parameters with Aspose when I’m inserting a image in my document ?

I want to insert a image in my doc, crop it but be able to get the full image when I open it with Word.

Thanks,

Q.

Hi

Thanks for your inquiry. Sure, you can use ImageData.CropBottom, ImageData.CropLeft, ImageData.CropRight and ImageData.CropTop properties. Please see the following link for more information:
https://reference.aspose.com/words/net/aspose.words.drawing/imagedata/cropbottom/
Best regards.

Thank you for your help.

Q.