Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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