AnsweredAssumed Answered

How to get raster system-optimized pixel block size programmatically

Question asked by taungesriaustralia-com-au-esridist Employee on Aug 18, 2019
Latest reply on Mar 22, 2020 by taungesriaustralia-com-au-esridist

Hi Guys,


In ArcObject we can get system-optimized pixel block size like this below code.

ArcObjects 10 .NET SDK Help 

         //Create a raster.         IRaster2 raster2 = rasterDs.CreateFullRaster()as IRaster2;         //Create a raster cursor with a system-optimized pixel block size by passing a null.        IRasterCursor rasterCursor = raster2.CreateCursorEx(null);


In ArcGIS pro sdk how shall we create cursor like this?, it seem width, height are mandatory.

ArcGIS Pro 2.4 API Reference Guide 


Is that different way in ArcGIS pro sdk?