Map.Extent

Map.Extent property

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

public Extent Extent { get; set; }

Exceptions

exceptioncondition
ArgumentExceptionIsValid is false.Width is less or equal to zero.Height is less or equal to zero.SpatialReferenceSystem is null.

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