[]
Calculates the suitable zoom and center which can show all or selected the vector items.
public bool CalculateAutoZoomCenter(out double zoom, out Point center, IEnumerable<VectorItem> items = null)
| Type | Name | Description |
|---|---|---|
| double | zoom | The suitable zoom. |
| Point | center | The suitable center. |
| IEnumerable<VectorItem> | items | The vector items (can be null to select all). |
| Type | Description |
|---|---|
| bool | , if there are no items to track; otherwise, .
|