Click or drag to resize

RegistryAdd Method (String, CoordinateReferenceSystem, Boolean)

Stores a CoordinateReferenceSystem in the registry.

Namespace:  Ptv.Components.Projections
Assembly:  Ptv.Components.Projections (in Ptv.Components.Projections.dll) Version: 1.7.10.0
Syntax
public static bool Add(
	string id,
	CoordinateReferenceSystem cs,
	bool allowReplace = false
)

Parameters

id
Type: SystemString
Identifier of the coordinate references system, e.g. EPSG:4326.
cs
Type: Ptv.Components.ProjectionsCoordinateReferenceSystem
CoordinateReferenceSystem to add.
allowReplace (Optional)
Type: SystemBoolean
Specifies if an existing coordinate reference system should be replaced, if it exists.

Return Value

Type: Boolean
Returns true, if the coordinate reference system was added to the registry. Returns false otherwise.
See Also