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.
    Syntax
    'Declaration
     
    
    Public Shared Function Read( _
       ByVal stream As Stream _
    ) As IEnumerable(Of GeoGeometryRecord)

    Parameters

    stream
    Stream that contains KML data.

    Return Value

    The collection of geometry records.
    Remarks
    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