<?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 Thumbnail Image location in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/thumbnail-image-location/m-p/71078#M400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Afternoon GeoNet Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A questions pertaining to thumbnails:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;When a thumbnail is created from a map document (*.mxd), where is this image stored?&lt;/LI&gt;&lt;LI&gt;How can you access the thumbnail image (via raster and/or vector ) so another application can utilize it?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time and insight.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Apr 2015 16:08:07 GMT</pubDate>
    <dc:creator>StephenCoppola</dc:creator>
    <dc:date>2015-04-21T16:08:07Z</dc:date>
    <item>
      <title>Thumbnail Image location</title>
      <link>https://community.esri.com/t5/developers-questions/thumbnail-image-location/m-p/71078#M400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Afternoon GeoNet Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A questions pertaining to thumbnails:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;When a thumbnail is created from a map document (*.mxd), where is this image stored?&lt;/LI&gt;&lt;LI&gt;How can you access the thumbnail image (via raster and/or vector ) so another application can utilize it?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time and insight.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 16:08:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/thumbnail-image-location/m-p/71078#M400</guid>
      <dc:creator>StephenCoppola</dc:creator>
      <dc:date>2015-04-21T16:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Thumbnail Image location</title>
      <link>https://community.esri.com/t5/developers-questions/thumbnail-image-location/m-p/71079#M401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The thumbnail for the mxd created by File &amp;gt; Map document properties &amp;gt; Make Thumbnail is stored in the MXD itself. If you have file explorer open when you create/delete the thumbnail (then save the mxd) you can see the file size change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be surprised if other applications could access this as it would require those applications to know the internal structure on an MXD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following VBA can be run from within the MXD to export it. If you place this in the normal template then you should be able to run this code in all MXD's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Public Sub ExportMXDThumbnail()
&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Creates a bitmap in c:\temp of the MXD thumbnail
&amp;nbsp;&amp;nbsp;&amp;nbsp; On Error GoTo eh
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim pMxDocument As IMxDocument
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set pMxDocument = ThisDocument
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim pMapDocument As IMapDocument
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set pMapDocument = pMxDocument
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim pPicture As IPicture
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set pPicture = pmd.Thumbnail
&amp;nbsp;&amp;nbsp;&amp;nbsp; SavePicture pPicture, "c:\temp\mythumb.bmp"
&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Sub
eh:
&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox "No thumbnail to export!"
End Sub&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:44:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/thumbnail-image-location/m-p/71079#M401</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2021-12-10T22:44:12Z</dc:date>
    </item>
  </channel>
</rss>

