Map for WinForms | ComponentOne
C1.FlexMap Namespace / KmlReader Class / Read Method
Stream that contains KML data.

In This Topic
    Read Method (KmlReader)
    In This Topic
    Reads spatial data from kml stream.
    Public Shared Function Read( _
       ByVal stream As Stream _
    ) As IEnumerable(Of GeoGeometryRecord)


    Stream that contains KML data.

    Return Value

    The collection of geometry records.
    The record data contains the following attributes.
    • name: the item name.
    • style-fillcolor: the fill color style with format "aabbggrr".
    • style-strokecolor: the stroke color style with format "aabbggrr".
    • <SimpleField-Name>: the attribute defined in <SimpleField> node.
    See Also