ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapSurroundStyleItem Class
Members Example

In This Topic
    MapSurroundStyleItem Class
    In This Topic
    Represents a map surround saved in a style.
    Object Model
    MapSurroundStyleItem ClassCIMMapSurround Class
    Syntax
    Public Class MapSurroundStyleItem 
       Inherits StyleItem
       Implements System.ComponentModel.INotifyPropertyChanged 
    public class MapSurroundStyleItem : StyleItem, System.ComponentModel.INotifyPropertyChanged  
    Example
    How to search for map surrounds in a style
    {
        //Search for map surrounds
        //Note: styleProjectItem was created above in the variable initialization section
        //Note: Needs QueuedTask to run
        styleProjectItem.SearchMapSurrounds("searchString");
    }
    Inheritance Hierarchy

    System.Object
       ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase
          ArcGIS.Desktop.Mapping.StyleItem
             ArcGIS.Desktop.Mapping.MapSurroundStyleItem

    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also