[]
        
(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)
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)
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)
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)
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.