This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterWorkspace3 Interface > IRasterWorkspace3.OpenRasterDatasetFromBytes Method (ArcObjects .NET 10.4 SDK) |
Opens a RasterDataset from an in-memry image.
[Visual Basic .NET] Public Function OpenRasterDatasetFromBytes ( _ ByRef ppBytes As Byte[]&, _ ByVal Copy As Boolean _ ) As IRasterDataset
[C#] public IRasterDataset OpenRasterDatasetFromBytes ( ref Byte[]& ppBytes, ref bool Copy );
[C++]
HRESULT OpenRasterDatasetFromBytes(
ppBytes* ppBytes,
VARIANT_BOOL Copy,
IRasterDataset** ppRasterDataset
);
[C++]
Parameters ppBytes [in] ppBytes is a parameter of type Copy [in] Copy is a parameter of type VARIANT_BOOL ppRasterDataset [out, retval]
ppRasterDataset is a parameter of type IRasterDataset
This method is used to open a RasterDataset from bytes, an in-memory image, which is normally created from RasterExplorter or IRasterWorkspace2::CreateRasterDataset with "MEM" string.