<?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 Change Resample Method on a Raster in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/change-resample-method-on-a-raster/m-p/735404#M19545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have some working code where I create a raster from a raster dataset, using the following code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Dim pRLayer As IRasterLayer
pRLayer = New RasterLayer
pRLayer.Name = "Logo"
pRLayer.CreateFromDataset(pRDataset)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This code works fine.&amp;nbsp; But I would now like to change the resampling method to BilinearInterpolation.&amp;nbsp; I tried the following, but this didn't work&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;pRLayer.Raster.ResampleMethod = rstResamplingTypes.RSP_BilinearInterpolation&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know how to change the resampling method given a raster layer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Feb 2012 20:59:21 GMT</pubDate>
    <dc:creator>TomFlahive</dc:creator>
    <dc:date>2012-02-08T20:59:21Z</dc:date>
    <item>
      <title>Change Resample Method on a Raster</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/change-resample-method-on-a-raster/m-p/735404#M19545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have some working code where I create a raster from a raster dataset, using the following code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Dim pRLayer As IRasterLayer
pRLayer = New RasterLayer
pRLayer.Name = "Logo"
pRLayer.CreateFromDataset(pRDataset)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This code works fine.&amp;nbsp; But I would now like to change the resampling method to BilinearInterpolation.&amp;nbsp; I tried the following, but this didn't work&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;pRLayer.Raster.ResampleMethod = rstResamplingTypes.RSP_BilinearInterpolation&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know how to change the resampling method given a raster layer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 20:59:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/change-resample-method-on-a-raster/m-p/735404#M19545</guid>
      <dc:creator>TomFlahive</dc:creator>
      <dc:date>2012-02-08T20:59:21Z</dc:date>
    </item>
  </channel>
</rss>

