ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Framework Namespace / IPlugInWrapper Interface / LargeImage Property
Example

In This Topic
    LargeImage Property (IPlugInWrapper)
    In This Topic
    Gets or sets the image the plug-in should use in the user interface when it is in its large state (32x32).
    Syntax
    Property LargeImage As Object
    object LargeImage {get; set;}
    Example
    Programmatically start Edit Annotation
    // programmatically activates the Edit Annotation tool by invoking the corresponding
    // plugin. The tool must be enabled for the operation to succeed.
    {
      var plugin = FrameworkApplication.GetPlugInWrapper("esri_editing_EditVerticesText");
      if (plugin.Enabled)
        ((ICommand)plugin).Execute(null);
    }
    Change a buttons caption or image
    {
      IPlugInWrapper wrapper = FrameworkApplication.GetPlugInWrapper("MyAddin_MyCustomButton");
      if (wrapper != null)
      {
        wrapper.Caption = "new caption";
    
        // ensure that T-Rex16 and T-Rex32 are included in your add-in under the images folder and have 
        // BuildAction = Resource and Copy to OutputDirectory = Do not copy
        wrapper.SmallImage = buildImage;
        wrapper.LargeImage = buildImage2;
      }
    }
    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also