Initializes a new instance of the Projection class.
Namespace: Spotfire.Dxp.Application.Visuals.Maps
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 71.0.22122.5390 (71.0.22122.5390)
Syntax
C#
public Projection( string identifier )
Parameters
- identifier
- Type: SystemString
The projection identifier, either an EPSG code on the form "EPSG:1234" or "CustomIdentifierPrefix:ID" when referring to an imported coordinate reference system with id 'ID'. Any whitespace is removed from both ends of the string.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown if identifier is null. |
| ArgumentException | Thrown if identifier is an unsupported EPSG code or does not start with CustomIdentifierPrefix. |
Version Information
See Also