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

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.