Parameters
- zoomLevel
- The zoom level.
Exception | Description |
---|---|
System.ArgumentException | The zoom level is not within the allowed range. |
if (FrameworkApplication.Panes.ActivePane is ITablePane tablePane) { var currentZoomLevel = tablePane.ZoomLevel; var newZoomLevel = currentZoomLevel + 50; tablePane.SetZoomLevel(newZoomLevel); }
Target Platforms: Windows 11, Windows 10