<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to insert an Image file into an Ole2Frame in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-insert-an-image-file-into-an-ole2frame/m-p/3568658#M58652</link>
    <description>&lt;P&gt;Do you know your questions resolution thanks&lt;/P&gt;</description>
    <pubDate>Tue, 07 Aug 2012 17:50:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-08-07T17:50:48Z</dc:date>
    <item>
      <title>How to insert an Image file into an Ole2Frame</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-insert-an-image-file-into-an-ole2frame/m-p/3204776#M58651</link>
      <description>&lt;P&gt;Could anybody please show me how to insert a jpg file in the autocad drawing file using an Ole2Frame.&lt;/P&gt;&lt;P&gt;I need to show&amp;nbsp; a logo in the drawing which is embedded (not linked) in the dwg.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2011 23:28:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-insert-an-image-file-into-an-ole2frame/m-p/3204776#M58651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-25T23:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert an Image file into an Ole2Frame</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-insert-an-image-file-into-an-ole2frame/m-p/3568658#M58652</link>
      <description>&lt;P&gt;Do you know your questions resolution thanks&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2012 17:50:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-insert-an-image-file-into-an-ole2frame/m-p/3568658#M58652</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-07T17:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert an Image file into an Ole2Frame</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-insert-an-image-file-into-an-ole2frame/m-p/3573384#M58653</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is not possible for applications to create an ole object (AcDbOle2Frame/Ole2Frame object) in AutoCAD.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is explained in the ObjectARX help file in the description for “setOleObject” method and I quote : &lt;BR /&gt;&lt;BR /&gt;“The COleClientItem class used by AutoCAD is a modified version of the class that ships from Microsoft. This means that it is not possible for applications to create their own COleClientItem objects for use by this function. This function can only be used with COleClientItem objects created by AutoCAD (that is, the object from another AcDbOle2Frame object).“&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For this reason, the workaround could be to use&amp;nbsp;a drawing file that contains the image as a template and using it in an insert operation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it is just an image in the drawing that you want to insert (not a Ole2Frame), you may find this blog post helpful :&lt;/P&gt;
&lt;P&gt;&lt;A href="http://adndevblog.typepad.com/autocad/2012/05/how-to-insert-a-rasterimage-using-the-net-api.html" target="_blank"&gt;http://adndevblog.typepad.com/autocad/2012/05/how-to-insert-a-rasterimage-using-the-net-api.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2012 09:50:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-insert-an-image-file-into-an-ole2frame/m-p/3573384#M58653</guid>
      <dc:creator>Balaji_Ram</dc:creator>
      <dc:date>2012-08-10T09:50:17Z</dc:date>
    </item>
  </channel>
</rss>

