Aspose.Words rendering Inline Images differently than Adobe Distiller

We use the MS Word object model to programmatically insert image files into Word docs as Inline Images thusly:



.Selection.InlineShapes.AddPicture Filename:=ImageName1, LinkToFile:=False, _

SaveWithDocument:=True



We place the image objects inside invisible Word Frame objects. By default, in the Word User Interface, if the Image is larger than the frame, it is automatically cropped to the size of the frame for purposes of display and printing (see Attachment 1).



When we Print using Adobe Distiller, such an image is auto-cropped just as we see it in the UI (see Attachment 2).



However, when we use Aspose.Words to create a PDF file of the saved Word doc, the entire image is shown, NOT auto-cropped as expected. (see Attachment 3 - note the distance from the bottom of the diagonal shadow to the bottom of the rendered image).



Is this a bug or a “feature”? How can we convince Aspose.Words to behave just as Adobe Distiller does?



Thanks,

Jim Selleck

Hi Jim,

Thanks for your inquiry. Please attach your input Word document and two output PDF files showing the correct and incorrect behaviors here for testing. We will investigate the issue on our end and provide you more information.

Best regards,