<?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 Export chart as image using ExportBitmapToFile in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Export-chart-as-image-using-ExportBitmapToFile/m-p/609807#M225079</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a button which runs a small script using ExportBitmapToFile to create jpg image of a chart using the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ActiveDocument.GetSheetObject("CH64").ExportBitmapToFile&amp;nbsp; &amp;lt;&lt;EM&gt;filename&lt;/EM&gt;.jpg&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works perfectly if the chart is on the &lt;STRONG&gt;same sheet&lt;/STRONG&gt; as the button.&lt;/P&gt;&lt;P&gt;However, I would like the button to be on a different sheet to the relevant chart.&lt;/P&gt;&lt;P&gt;Can anyone tell me what the command should be ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Apr 2014 09:34:39 GMT</pubDate>
    <dc:creator>richard_chilvers</dc:creator>
    <dc:date>2014-04-23T09:34:39Z</dc:date>
    <item>
      <title>Export chart as image using ExportBitmapToFile</title>
      <link>https://community.qlik.com/t5/QlikView/Export-chart-as-image-using-ExportBitmapToFile/m-p/609807#M225079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a button which runs a small script using ExportBitmapToFile to create jpg image of a chart using the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ActiveDocument.GetSheetObject("CH64").ExportBitmapToFile&amp;nbsp; &amp;lt;&lt;EM&gt;filename&lt;/EM&gt;.jpg&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works perfectly if the chart is on the &lt;STRONG&gt;same sheet&lt;/STRONG&gt; as the button.&lt;/P&gt;&lt;P&gt;However, I would like the button to be on a different sheet to the relevant chart.&lt;/P&gt;&lt;P&gt;Can anyone tell me what the command should be ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 09:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-chart-as-image-using-ExportBitmapToFile/m-p/609807#M225079</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2014-04-23T09:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Export chart as image using ExportBitmapToFile</title>
      <link>https://community.qlik.com/t5/QlikView/Export-chart-as-image-using-ExportBitmapToFile/m-p/609808#M225080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get all sheetid from the below code. so you can mention get desired sheetid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sub LoopSheet&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;for i = 0 to ActiveDocument.NoOfSheets - 1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;set ss= ActiveDocument.GetSheet(i)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;msgbox(ss.GetProperties.SheetId)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;next&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;end sub&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope its help,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 09:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-chart-as-image-using-ExportBitmapToFile/m-p/609808#M225080</guid>
      <dc:creator>v_iyyappan</dc:creator>
      <dc:date>2014-04-23T09:43:37Z</dc:date>
    </item>
  </channel>
</rss>

