ESRI.ArcGIS.ADF.Web
Swatch Constructor(String,String,String,String)
See Also 
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 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.

See Also

© 2010 All Rights Reserved.