Map for WinForms | ComponentOne
C1.Win.Map Namespace / C1Map Class / ZoomToItems Method
The vector items (can be null to select all).

In This Topic
    ZoomToItems Method (C1Map)
    In This Topic
    Zoom to fit the selected items.
    Syntax
    'Declaration
     
    
    Public Function ZoomToItems( _
       Optional ByVal items As IEnumerable(Of VectorItem) _
    ) As Boolean
    public bool ZoomToItems( 
       IEnumerable<VectorItem> items
    )

    Parameters

    items
    The vector items (can be null to select all).

    Return Value

    false, if there are no items to track; otherwise, true.
    See Also