Click or drag to resize

RegistrySetContent Method

Adds the coordinate references system defined by a CSV formatted string to the registry.

Namespace:  Ptv.Components.Projections
Assembly:  Ptv.Components.Projections (in Ptv.Components.Projections.dll) Version: 1.7.10.0
Syntax
public static void SetContent(
	string csv,
	bool allowReplace = false,
	bool reinitialize = false
)

Parameters

csv
Type: SystemString
String containing the coordinate reference systems in the format id;wkt, one CRS per line.
allowReplace (Optional)
Type: SystemBoolean
Specifies if an existing coordinate reference system should be replaced, if it exists.
reinitialize (Optional)
Type: SystemBoolean
Specifies if the registry is cleared before adding the coordinate reference system specified by csv.
Remarks
Note that allowReplace and reinitialize are not mutually exclusive. allowReplace is considered per record and has an effect on duplicates included in the csv data.
See Also