Skip to main content
All docs
V25.1
  • ShapefileDataAdapter.LoadPrjFromStream(Stream) Method

    Loads coordinate system metadata from the specified stream.

    Namespace: DevExpress.XtraMap

    Assembly: DevExpress.XtraMap.v25.1.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