ComponentOne Reports for WPF
C1.C1Report.CustomFields.Maps Namespace / AddingKmlItemDelegate Delegate
IN/OUT: the item name.
OUT: item stroke color (null uses color specified in the KML data).
OUT: item fill color (null uses color specified in the KML data).
OUT: indicates whether the item's coordinates should be used to auto size/zoom the map.

In This Topic
    AddingKmlItemDelegate Delegate
    In This Topic
    Delegate called for each KML item as it is loaded from the KML file into the map.
    Syntax
    'Declaration
     
    Public Delegate Function AddingKmlItemDelegate( _
       ByRef itemName As String, _
       ByRef stroke As Nullable(Of Color), _
       ByRef fill As Nullable(Of Color), _
       ByRef trackCoords As Boolean _
    ) As Boolean
    public delegate bool AddingKmlItemDelegate( 
       ref string itemName,
       out Nullable<Color> stroke,
       out Nullable<Color> fill,
       out bool trackCoords
    )

    Parameters

    itemName
    IN/OUT: the item name.
    stroke
    OUT: item stroke color (null uses color specified in the KML data).
    fill
    OUT: item fill color (null uses color specified in the KML data).
    trackCoords
    OUT: indicates whether the item's coordinates should be used to auto size/zoom the map.

    Return Value

    True to include an item in the map, false to exclude it.
    See Also