Map Constructor

Creates new instance of the Map class.

Namespace:  Aspose.Gis.Rendering
Assembly:  Aspose.GIS (in Aspose.GIS.dll) Version: 20.3.0.0 (20.03)
Syntax
public Map(
	Measurement width,
	Measurement height
)

Parameters

width
Type: Aspose.Gis.RenderingMeasurement
Width of the map.
height
Type: Aspose.Gis.RenderingMeasurement
Height of the map.
Exceptions
ExceptionCondition
ArgumentException Unit of width or height is MapUnits.
ArgumentOutOfRangeException Width or height is negative or zero.
See Also