IRasterValues.AsBoolean

IRasterValues.AsBoolean method

将指定波段数据转换为 bool 值。

public bool AsBoolean(int bandIndex = 0)
参数类型描述
bandIndexInt32波段的索引。编号从 0 开始。

返回值

转换后的值。

另见