IRasterValues.AsBoolean

IRasterValues.AsBoolean method

Converts the specified band data to a bool value.

public bool AsBoolean(int bandIndex = 0)
ParameterTypeDescription
bandIndexInt32The index of the band. Numbering starts from 0.

Return Value

The converted value.

See Also