This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRasterExporter Interface > IRasterExporter.ExportToBytes Method (ArcObjects .NET 10.4 SDK) |
Converts a raster into a Bitmap.
[Visual Basic .NET] Public Function ExportToBytes ( _ ByVal pRaster As IRaster, _ ByVal Format As String _ ) As Byte[]
[C#] public Byte[] ExportToBytes ( IRaster pRaster, string Format );
[C++]
HRESULT ExportToBytes(
IRaster* pRaster,
BSTR Format,
ppBYTES* ppBYTES
);
[C++]
Parameters pRaster [in]
pRaster is a parameter of type IRaster Format [in] Format is a parameter of type BSTR ppBYTES [out, retval] ppBYTES is a parameter of type