Skip to main content
All docs
V24.2

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.LoadPrjFromStream(Stream) Method

Loads coordinate system metadata from the specified stream.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.2.dll

NuGet Package: DevExpress.Win.Map

#Declaration

public static SourceCoordinateSystem LoadPrjFromStream(
    Stream stream
)

#Parameters

Name Type Description
stream Stream

The name of the stream that keeps coordinate system metadata.

#Returns

Type Description
SourceCoordinateSystem

A SourceCoordinateSystem class descendant that contains the content of the *.PRJ file.

#Remarks

Call the ShapefileDataAdapter.LoadPrjFile(Uri) method to load coordinate system metadata from the URI to the *.PRJ file.

Refer to the Shapefile topic for more information about *.PRJ and shapefiles.

See Also