ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMBookmark Class / ThumbnailImagePath Property
Example

In This Topic
    ThumbnailImagePath Property
    In This Topic
    Gets or sets the URI of the binary reference containing the thumbnail image path.
    Syntax
    Public Property ThumbnailImagePath As String
    public string ThumbnailImagePath {get; set;}
    Example
    Add New Bookmark from CIMBookmark
    {
      // Note: Needs QueuedTask to run
      {
        //Set properties for Camera
        CIMViewCamera cimCamera = new()
        {
          X = camera.X,
          Y = camera.Y,
          Z = camera.Z,
          Scale = camera.Scale,
          Pitch = camera.Pitch,
          Heading = camera.Heading,
          Roll = camera.Roll
        };
    
        //Create new CIM bookmark and populate its properties
        var cimBookmark = new CIMBookmark() { Camera = cimCamera, Name = cameraName, ThumbnailImagePath = "" };
    
        //Add a new bookmark for the active map.
        mapView.Map.AddBookmark(cimBookmark);
      }
    }
    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also