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


IPixelReader.BandCount Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IPixelReader.BandCount Property

The number of source bands.

[Visual Basic .NET]
Public ReadOnly Property BandCount As Integer
[C#]
public int BandCount {get;}
[C++]
HRESULT get_BandCount(
  System.Int32* pBandCount
);
[C++]

Parameters pBandCount [out, retval]
pBandCount is a parameter of type long*

Product Availability

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

See Also

IPixelReader Interface