public bool ZoomToElements( IEnumerable<Element> elements, Nullable<TimeSpan> duration )
Public Function ZoomToElements( _ ByVal elements As IEnumerable(Of Element), _ Optional ByVal duration As Nullable(Of TimeSpan) _ ) As Boolean
Parameters
- elements
- The set of elements to zoom to.
- duration
- The amount of time to navigate the view to the new camera position. If null it uses the default navigation duration.
Return Value
Returns
true
if the navigation is completed, false
if it was interrupted by another view navigation.