Projection.GetParameterValue
Projection.GetParameterValue method
Gets parameter with specified name of this projection.
public double GetParameterValue(string name, ParameterType type = ParameterType.Other)
Parameter | Type | Description |
---|---|---|
name | String | Name of parameter. |
type | ParameterType | Type of parameter. Defines unit factor that will be deapplied: if type is Linear then LinearParametersUnit will be deapplied and result will be in meters. if type is Angular then AngularParametersUnit will be deapplied and result will be in radians. if type is Other parameter value will be returned ‘as is’. |
Return Value
Parameter with specified name.
Exceptions
exception | condition |
---|---|
ArgumentNullException | Argument is null. |
InvalidOperationException | There is no parameter with this name. |
See Also
- enum ParameterType
- class Projection
- namespace Aspose.Gis.SpatialReferencing
- assembly Aspose.GIS