|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IP > IPixelBlockCursor Interface > IPixelBlockCursor.UpdateBlockSize Method (ArcObjects .NET 10.5 SDK) | 
Updates the cursor block size.
[Visual Basic .NET] Public Sub UpdateBlockSize ( _ ByVal BlockSizeX As Integer, _ ByVal BlockSizeY As Integer _ )
[C#] public void UpdateBlockSize ( int BlockSizeX, int BlockSizeY );
[C++]
HRESULT UpdateBlockSize(
  long BlockSizeX,
  long BlockSizeY
);
[C++]
Parameters BlockSizeX [in] BlockSizeX is a parameter of type long BlockSizeY [in] BlockSizeY is a parameter of type long
This should be used only when reading a PixelBlock from a Raster.