ESRI.ArcGIS.ADF.Web.UI.WebControls
DisplayImageUrl Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Toc Class : DisplayImageUrl Property




The URL of the image displayed in this TOC control.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<ResCategoryAttribute("Toc")>
<ResDescriptionAttribute("The URL of the image to display.")>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.Web.UI.Design.UrlEditor")>
<NotifyParentPropertyAttribute(True)>
Public Property DisplayImageUrl As String
Visual Basic (Usage)Copy Code
Dim instance As Toc
Dim value As String
 
instance.DisplayImageUrl = value
 
value = instance.DisplayImageUrl
C# 
[DefaultValueAttribute()]
[ResCategoryAttribute("Toc")]
[ResDescriptionAttribute("The URL of the image to display.")]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.Web.UI.Design.UrlEditor")]
[NotifyParentPropertyAttribute(true)]
public string DisplayImageUrl {get; set;}

Return Value

URL of the image to display for table of contents.

Remarks

If this property is set, the image specified will be displayed instead of any table of contents generated by the map layers.

Set the Width and Height properties to the size of the image (or to a proportion of it) in order to improve the appearance of the image.

See Also

© 2010 All Rights Reserved.