Is there any way to insert one kind of image files such as png or jpg to a drawing, programmatically in c# by using Autodesk.Autocad.Interop
and Autodesk.Autocad.Interop.common
dlls?
I have tried AcadDocument.Database.ModelSpace.InsertBlock()
but it works just with dwg files and returns the following error for images :
"Invalid File Header."