This document is archived and information here might be outdated.  Recommended version.


IRasterColormapToRGBConversion.ColormapToRGB Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterColormapToRGBConversion.ColormapToRGB Method

Converts a colormap raster dataset to a RGB raster dataset.

[Visual Basic .NET]
Public Function ColormapToRGB ( _
    ByVal pRasterDataset As IRasterDataset, _
    ByVal pWorkspace As IWorkspace, _
    ByVal Name As String, _
    ByVal Format As String _
) As IName
[C#]
public IName ColormapToRGB (
    IRasterDataset pRasterDataset,
    IWorkspace pWorkspace,
    string Name,
    string Format
);
[C++]
HRESULT ColormapToRGB(
  IRasterDataset* pRasterDataset,
  IWorkspace* pWorkspace,
  BSTR Name,
  BSTR Format,
  IName** ppName
);
[C++]

Parameters pRasterDataset [in]
pRasterDataset is a parameter of type IRasterDataset pWorkspace [in]
pWorkspace is a parameter of type IWorkspace Name [in] Name is a parameter of type BSTR Format [in] Format is a parameter of type BSTR ppName [out, retval]
ppName is a parameter of type IName

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The parameter pOutWorkspace can only be a raster workspace, which is a file based workspace.

The format string can be "IMAGINE Image", "TIFF",  "GRID", or "BMP" only.

Remarks

The parameter pOutWorkspace can only a raster workspace, which is a file based workspace.

See Also

IRasterColormapToRGBConversion Interface