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

Free Support Forum - aspose.com

Extracted embedded (OLE) objects are incorrect

Hi!

I am using the next code for extracting embedded objects:
if (shape.getOleFormat() != null) {
shape.getOleFormat().save("...");
}
But resulting files are incorrect - they contain additional data and can't be opened by appropriate applications.

UPD1: Resulting files are EMF files.

Guys thanks for not the response!


This helped me:
byte[] rawData = shape.getOleFormat().getOleEntry(“CONTENTS”);
Hi Peter,

Please accept my apologies for late response.

It is nice to hear from you that you have solved your query. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.

A post was split to a new topic: Extracted embedded objects are incorrect