Parameters
- zoomLevel
- The zoom level.
| Exception | Description |
|---|---|
| System.ArgumentException | The zoom level is not within the allowed range. |
{
//Check if the active pane is an ITablePane
if (FrameworkApplication.Panes.ActivePane is ITablePane tablePane)
{
//Get the current zoom level of the table pane
var currentZoomLevel = tablePane.ZoomLevel;
// Set a new zoom level, for example, increase it by 50
var newZoomLevel = currentZoomLevel + 50;
// Set the new zoom level to the table pane
tablePane.SetZoomLevel(newZoomLevel);
}
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)