SE_rasterattr_get_num_bands

Retrieves the number of bands.

Usage syntax

LONG SE_rasterattr_get_num_bands (SE_RASTERATTR handle, LONG *num_bands);

Parameters
handle The SE_RASTERATTR handle
num_bands The number of bands
Description

SE_rasterattr_get_num_bands returns the number of bands.

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_INVALID_RASTERATTR_OBJECT

SE_NET_FAILURE

SE_SDE_NOT_STARTED