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




image
CartoImage object with the swatch.
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 image As CartoImage, _
   ByVal label As String, _
   ByVal minScale As String, _
   ByVal maxScale As String _
)
Visual Basic (Usage)Copy Code
Dim image As CartoImage
Dim label As String
Dim minScale As String
Dim maxScale As String
 
Dim instance As Swatch(image, label, minScale, maxScale)
C# 
public Swatch( 
   CartoImage image,
   string label,
   string minScale,
   string maxScale
)

Parameters

image
CartoImage object with the swatch.
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.