Map.Map

Map constructor

创建新的实例地图类.

public Map(Measurement width, Measurement height)
范围 类型 描述
width Measurement 地图的宽度。
height Measurement 地图的高度。

例外

例外 (健康)状况
ArgumentException 宽度或高度的单位是MapUnits.
ArgumentOutOfRangeException 宽度或高度为负数或零。

也可以看看