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

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -