OleObjectFrame


#1

Hi Alexey!


How can I work with OleObjectFrame ?

if (shape1 is OleObjectFrame)
{
if (((OleObjectFrame)shape1).ObjectType == OleObjectType.Imager) //always return “Unknown”
{
byte[] b = ((OleObjectFrame)shape1).ObjectData;
MemoryStream ms = new MemoryStream(b);
Image img = new Bitmap(ms);
}
}


#2

Dear CAV,

You can send me any ppt with unknown Ole objects.
Support for such object types will be included to the next hot fix.