MapExtent Property

Specifies bounds of map to render. If set to , extent is calculated during rendering to include all geometries in all layers.

Namespace:  Aspose.Gis.Rendering
Assembly:  Aspose.GIS (in Aspose.GIS.dll) Version: 21.10.0.0 (21.10)
Syntax
public Extent Extent { get; set; }

Property Value

Type: Extent
Exceptions
ExceptionCondition
ArgumentException
  • IsValid is .
  • Width is less or equal to zero.
  • Height is less or equal to zero.
  • SpatialReferenceSystem is .
Remarks
If spatial reference system of the extent is not equal to spatial reference system of the map, extent is being transformed to the target spatial reference system during rendering.
See Also