Map for WinForms | ComponentOne
C1.Win.Map Namespace / C1Map Class / SetZoomCenter Method
The new zoom of the map.
The new center of the map, in geography unit.

In This Topic
    SetZoomCenter Method (C1Map)
    In This Topic
    Sets the zoom and center of the map.
    Syntax
    'Declaration
     
    
    Public Sub SetZoomCenter( _
       ByVal zoom As Double, _
       ByVal center As C1.Win.Interop.Point _
    ) 
    public void SetZoomCenter( 
       double zoom,
       C1.Win.Interop.Point center
    )

    Parameters

    zoom
    The new zoom of the map.
    center
    The new center of the map, in geography unit.
    Remarks
    Valid only after the map is rendered.
    See Also