ArcObjects Library Reference (GeoDatabase)  

IRaster.CreatePixelBlock Method

Allocates a PixelBlock of requested size.

[Visual Basic .NET]
Public Function CreatePixelBlock ( _
    ByVal Size As IPnt _
) As IPixelBlock
public IPixelBlock CreatePixelBlock (
    IPnt Size
HRESULT CreatePixelBlock(
  IPnt* Size,
  IPixelBlock** pxlblk


Size [in]

  Size is a parameter of type IPnt

pxlblk [out, retval]

  pxlblk is a parameter of type IPixelBlock

Product Availability

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


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

.NET Related Topics

How to create a raster dataset