Insert Bitmap File as OLE Object as an Embedded with C# on AutoCAD 2022

Insert Bitmap File as OLE Object as an Embedded with C# on AutoCAD 2022

EtapAutodesk
Explorer Explorer
717 Views
1 Reply
Message 1 of 2

Insert Bitmap File as OLE Object as an Embedded with C# on AutoCAD 2022

EtapAutodesk
Explorer
Explorer

Hi,

 

We want to import bitmap file as embedded on Autocad DWG drawing with programmatically [C#]. Is it possible?  I do not find any source .NET code resolution for this. There seems a OLE2FRAME class but i do not see any resolution.

 

Thanks! 

0 Likes
718 Views
1 Reply
Reply (1)
Message 2 of 2

norman.yuan
Mentor
Mentor

No, there is no API exposed to do that. Here is an old reply to the same question posed years ago, and it still stand, I think.

 

https://forums.autodesk.com/t5/net/how-to-create-an-ole-object-with-ole2frame/td-p/3203222 

 

 

Norman Yuan

Drive CAD With Code

EESignature

0 Likes