ESRI.ArcGIS.ADF.Web
Swatch Constructor(String,String,String,String)
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.Display.Swatch Namespace > Swatch Class > Swatch Constructor : Swatch Constructor(String,String,String,String)




url
URL with the location of the swatch image.
label
Label for the swatch.
minScale
Minimum map scale at which to display the swatch.
maxScale
Maximum map scale at which to display the swatch.
Constructs a Swatch object.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal url As String, _
   ByVal label As String, _
   ByVal minScale As String, _
   ByVal maxScale As String _
)
Visual Basic (Usage)Copy Code
Dim url As String
Dim label As String
Dim minScale As String
Dim maxScale As String
 
Dim instance As New Swatch(url, label, minScale, maxScale)
C# 
public Swatch( 
   string url,
   string label,
   string minScale,
   string maxScale
)

Parameters

url
URL with the location of the swatch image.
label
Label for the swatch.
minScale
Minimum map scale at which to display the swatch.
maxScale
Maximum map scale at which to display the swatch.

Requirements

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

See Also

© 2011 All Rights Reserved.