Projection.TryGetParameterValue
Projection.TryGetParameterValue method
Gets parameter with specified name of this projection. If there are no such parameter - returns null
.
public double? TryGetParameterValue(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 or null
if it is not present.
Exceptions
exception | condition |
---|---|
ArgumentNullException | Argument is null. |
See Also
- enum ParameterType
- class Projection
- namespace Aspose.Gis.SpatialReferencing
- assembly Aspose.GIS