ArcGIS Pro 2.6 API Reference Guide
HasData Method

ArcGIS.Core.Data.Raster Namespace > PixelBlock Class : HasData Method
Gets a value indicating whether this pixel block has any data pixels. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public bool HasData()
Public Function HasData() As Boolean

Return Value

A boolean value that is true if this pixel block has any data pixels; otherwise, false.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

PixelBlock Class
PixelBlock Members