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


IRaster.CreatePixelBlock Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRaster Interface > IRaster.CreatePixelBlock Method
ArcGIS Developer Help

IRaster.CreatePixelBlock Method

Allocates a PixelBlock of requested size.

[Visual Basic .NET]
Public Function CreatePixelBlock ( _
    ByVal Size As IPnt _
) As IPixelBlock
[C#]
public IPixelBlock CreatePixelBlock (
    IPnt Size
);
[C++]
HRESULT CreatePixelBlock(
  IPnt* Size
);
[C++]
Parameters
Size [in]

Size is a parameter of type IPnt*

Product Availability

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

Remarks

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.

See Also

IRaster Interface