how to remove embeded objects from word using c# interop?

106 Views Asked by At

I am trying to get pdf/word/excel embeded documents & remove it. but, instead of embededOleObject it detects is as an MSOPicture type.

I am using document.InlineShapes & iterating it inlineshape and checking it's type. It detects as MSOPicture insted of embdedOleObject or embededLinkedOleObject.

can anyone suggest how can I detect correct inlineshape type?

1

There are 1 best solutions below

0
On

Try this

WdInlineShapeType.wdInlineShapeEmbeddedOLEObject