Constructs a swatch object.
Syntax
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) |
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