ESRI.ArcGIS.E2API Feedback via the User Forum
ImageSet Class
See Also  Members   Example 
ESRI.ArcGIS.E2API Namespace : ImageSet Class


The ImageSet class provides access, by name or index, to the set of images used as icons for tasks and results within ArcGIS Explorer.

Syntax

Visual Basic (Declaration) 
<ComVisibleAttribute(False)>
Public Class ImageSet 
Visual Basic (Usage)Copy Code
Dim instance As ImageSet
C# 
[ComVisibleAttribute(false)]
public class ImageSet 

Example

An example of adding a copy of an Image in the ImageSet to the ImageSet, and using that Image to create a Result.
C#Copy Code
ESRI.ArcGIS.E2API.ImageSet MyImageSet = _taskUI.E2.ImageSet; 
MyImageSet.AddImage("CopyOfImage", MyImageSet.GetImage(0)); 
 
//Create Result with Image from ImageSet 
ESRI.ArcGIS.E2API.Result MyResult = new Result(); 
MyResult.Title = "My Result"; 
//Set this property to the name of an Image in the ImageSet 
MyResult.Image = "CopyOfImage";
Visual BasicCopy Code
Dim MyImageSet As ESRI.ArcGIS.E2API.ImageSet = _taskUI.E2.ImageSet
MyImageSet.AddImage("CopyOfImage", MyImageSet.GetImage(0))

'Create Result with Image from ImageSet
Dim MyResult As ESRI.ArcGIS.E2API.Result = New Result()
MyResult.Title = "My Result";
'Set this property to the name of an Image in the ImageSet
MyResult.Image = "CopyOfImage"

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.E2API.ImageSet

Platforms

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Version Information

This class was added to the E2API at version 1.0.0.348.

See Also