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


IRasterExporter Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IRasterExporter Interface

Provides access to members that control a Bitmap converter.

Product Availability

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

Members

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

CoClasses that implement IRasterExporter

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

Remarks

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 (Code Files: ThumbnailBuilder)