ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / ITablePane Interface / ZoomLevel Property
Example

In This Topic
    ZoomLevel Property (ITablePane)
    In This Topic
    Gets the zoom level for the table.
    Syntax
    int ZoomLevel {get;}
    ReadOnly Property ZoomLevel As Integer
    Example
    Set zoom level for Attribute Table
    if (FrameworkApplication.Panes.ActivePane is ITablePane tablePane)
    {
      var currentZoomLevel = tablePane.ZoomLevel;
    
      var newZoomLevel = currentZoomLevel + 50;
      tablePane.SetZoomLevel(newZoomLevel);
    }
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also