[]
        
(Showing Draft Content)

C1.WPF.Maps.ShapeReader.Read

Read Method

Read(Stream)

Read shape file data from stream.

Declaration
public static Dictionary<VectorItemBase, C1ShapeAttributes> Read(Stream stream)
Public Shared Function Read(stream As Stream) As Dictionary(Of VectorItemBase, C1ShapeAttributes)
Parameters
Type Name Description
Stream stream

Stream that contains ShapeFile data.

Returns
Type Description
Dictionary<VectorItemBase, C1ShapeAttributes>

Dictionary of vector objects and shape attribute objects for C1VectorLayer.

Read(Stream, Stream)

Read shape file and dbf datas from stream.

Declaration
public static Dictionary<VectorItemBase, C1ShapeAttributes> Read(Stream stream, Stream dbfStream)
Public Shared Function Read(stream As Stream, dbfStream As Stream) As Dictionary(Of VectorItemBase, C1ShapeAttributes)
Parameters
Type Name Description
Stream stream

Stream that contains ShapeFile data.

Stream dbfStream

Stream that contains DBF data.

Returns
Type Description
Dictionary<VectorItemBase, C1ShapeAttributes>

Dictionary of vector objects and shape attribute objects for C1VectorLayer.

Read(byte[])

Read shape file data from byte array.

Declaration
public static Dictionary<VectorItemBase, C1ShapeAttributes> Read(byte[] content)
Public Shared Function Read(content As Byte()) As Dictionary(Of VectorItemBase, C1ShapeAttributes)
Parameters
Type Name Description
byte[] content

Byte array that contains ShapeFile data.

Returns
Type Description
Dictionary<VectorItemBase, C1ShapeAttributes>

dictionary of vector objects and shape attribute objects for C1VectorLayer.

Read(byte[], byte[])

Read shape file and dbf datas from byte array.

Declaration
public static Dictionary<VectorItemBase, C1ShapeAttributes> Read(byte[] content, byte[] dbfContent)
Public Shared Function Read(content As Byte(), dbfContent As Byte()) As Dictionary(Of VectorItemBase, C1ShapeAttributes)
Parameters
Type Name Description
byte[] content

Byte array that contains ShapeFile data.

byte[] dbfContent

Byte array that contains DBF data.

Returns
Type Description
Dictionary<VectorItemBase, C1ShapeAttributes>

dictionary of vector objects and shape attribute objects for C1VectorLayer.