Click or drag to resize

CoordinateTransformationEnabled Property

Gets or sets a value indicating whether the core PROJ.4 coordinate transformation is used by the CoordinateTransformation class.

Namespace:  Ptv.Components.Projections.Proj4
Assembly:  Ptv.Components.Projections (in Ptv.Components.Projections.dll) Version: 1.7.10.0
Syntax
public static bool Enabled { get; set; }

Property Value

Type: Boolean
Remarks
Enabled is mainly used for disabling the unmanaged extensions used by implementation of CoordinateTransformation. As those extensions are initialized with the first transformation triggered, Enabled must be called prior to using any coordinate transformation to have an effect. To indicate such problem, Enabled will throw an exception when trying to disable the PROJ.4 transformation after using any coordinate transformation.
See Also