wpf-devexpress-dot-xpf-dot-map-dot-shapefiledataadapter-3dba8df5.md
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.v25.2.dll
NuGet Package : DevExpress.Wpf.Map
[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()
<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 Function LoadPrjFile As SourceCoordinateSystem
| Type | Description |
|---|---|
| SourceCoordinateSystem |
A SourceCoordinateSystem class descendant object.
|
This API is now obsolete. Use the static ShapefileDataAdapter.LoadPrjFile method instead.
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"))})
data.Add(new MapData() {
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