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

IRasterExporter Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRasterExporter Interface
ArcGIS Developer Help

IRasterExporter Interface

Provides access to members that control a Bitmap converter.

Product Availability

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


Name Description
Method ExportToBytes Converts a raster into a Bitmap.
Read/write property RasterRenderer The raster renderer used for conversion.

Classes that implement IRasterExporter

Classes Description
RasterExporter A helper class for converting a Raster to an in-memory image.


The IRasterExporter interface is used to convert a Raster object to bitmap, or bytes.

The bytes can be opened as a RasterDataset using IRasterWorkspace3 interface.

.NET Samples

Create a custom raster type