ShapefileDataAdapter.LoadPrjFile() Method
OBSOLETE
The parameterless LoadPrjFile method is obsolete now. Use the static LoadPrjFile with the Uri argument method instead
Loads the *.prj file data, which contains information about the coordinate system and projection.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v24.1.dll
NuGet Package: DevExpress.Wpf.Map
Declaration
[Obsolete("The parameterless LoadPrjFile method is obsolete now. Use the static LoadPrjFile with the Uri argument method instead", true)]
[PreferableMember("ShapefileDataAdapter", "LoadPrjFile", "")]
[Browsable(false)]
public SourceCoordinateSystem LoadPrjFile()
Returns
Type | Description |
---|---|
SourceCoordinateSystem | A SourceCoordinateSystem class descendant object. |
Remarks
This API is now obsolete. Use the static ShapefileDataAdapter.LoadPrjFile method instead.
Example
data_Renamed.Add(New MapData() With {.Name = "LoadPrjFile( ) loaded coordinate system", .FileUri = New Uri(baseUri, "../../Shapefiles/Lambert/Belize.shp"), .CoordinateSystem = ShapefileDataAdapter.LoadPrjFile(New Uri(baseUri, "../../Shapefiles/Lambert/Projection.prj"))})
See Also