This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRawPixels Interface > IRawPixels.CreatePixelBlock Method (ArcObjects .NET 10.4 SDK) |
Allocates a PixelBlock of size requested and type of this band.
[Visual Basic .NET] Public Function CreatePixelBlock ( _ ByVal Size As IPnt _ ) As IPixelBlock
[C#] public IPixelBlock CreatePixelBlock ( IPnt Size );
[C++]
HRESULT CreatePixelBlock(
IPnt* Size,
IPixelBlock** pxls
);
[C++]
Parameters Size [in]
Size is a parameter of type IPnt pxls [out, retval]
pxls is a parameter of type IPixelBlock
CreatePixelBlock method only initializes the properties of a pixel block, such as dimension, pixel type etc. Read method of this interface should be used to read pixels into the pixel block.