IRasterExporter Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRasterExporter Interface (ArcObjects .NET 10.6 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

Name 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)