ESRI.ArcGIS.ADF.Web.UI.WebControls
MagnifierMapResource Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Magnifier Class : MagnifierMapResource Property




Map resource to be used for magnifying.

Syntax

Visual Basic (Declaration) 
<ResCategoryAttribute("Resources")>
<DefaultValueAttribute()>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.MapResourceEditor, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
<ResDescriptionAttribute("MapResource to be used for magnifying")>
<NotifyParentPropertyAttribute(True)>
Public Property MagnifierMapResource As String
Visual Basic (Usage)Copy Code
Dim instance As Magnifier
Dim value As String
 
instance.MagnifierMapResource = value
 
value = instance.MagnifierMapResource
C# 
[ResCategoryAttribute("Resources")]
[DefaultValueAttribute()]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.MapResourceEditor, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
[ResDescriptionAttribute("MapResource to be used for magnifying")]
[NotifyParentPropertyAttribute(true)]
public string MagnifierMapResource {get; set;}

Return Value

Name of the resource as set in the MapResourceManager.

Remarks

Only one resource (map service) is used for the Magnifier window. This property specifies which resource is used for the Magnfier. This property must be set, or a runtime error will occur when the Magnifier is moved over the Map.

See Also

© 2010 All Rights Reserved.