Back to Devexpress

ShapefileDataAdapter.LoadPrjFromStream(Stream) Method

windowsforms-devexpress-dot-xtramap-dot-shapefiledataadapter-dot-loadprjfromstream-x28-system-dot-io-dot-stream-x29.md

latest1.8 KB
Original Source

ShapefileDataAdapter.LoadPrjFromStream(Stream) Method

Loads coordinate system metadata from the specified stream.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public static SourceCoordinateSystem LoadPrjFromStream(
    Stream stream
)
vb
Public Shared Function LoadPrjFromStream(
    stream As Stream
) As SourceCoordinateSystem

Parameters

NameTypeDescription
streamStream

The name of the stream that keeps coordinate system metadata.

|

Returns

TypeDescription
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

ShapefileDataAdapter Class

ShapefileDataAdapter Members

DevExpress.XtraMap Namespace