c# - How do I convert System__ComObject to an image? -


I am using DSOFile to obtain summary properties from some crystal report report files. Summary Properties The thumbnail returns an object and I have to convert the object to an image so that I can display it as a preview on my form. I tried to put it in a system.Drawing.Image but I get an error "Can not convert from image converter system. Com com object."

This will probably be a COM interface for images You can use the AxHost.GetPictureFromIPicture or GetPictureFromIPictureDisp static method to create the conversion.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -