ESRI.ArcGIS.ADF.Web Send comments on this topic.
GenerateSwatches Method
See Also 
ESRI.ArcGIS.ADF.Web.Display.Renderer Namespace > Generic ValueMapRenderer Class : GenerateSwatches Method


swatchInfo
Information for generating swatches
fileName
Root name of swatch file name
minScale
Minimum scale of layer
maxScale
Maximum scale of layer
Generates swatches for this renderer for display in a table of contents

Syntax

Visual Basic (Declaration) 
Public Overridable Function GenerateSwatches( _
   ByVal swatchInfo As SwatchInfo, _
   ByVal fileName As String, _
   ByVal minScale As String, _
   ByVal maxScale As String _
) As SwatchCollection
Visual Basic (Usage)Copy Code
Dim instance As ValueMapRenderer(Of T)
Dim swatchInfo As SwatchInfo
Dim fileName As String
Dim minScale As String
Dim maxScale As String
Dim value As SwatchCollection
 
value = instance.GenerateSwatches(swatchInfo, fileName, minScale, maxScale)
C# 
public virtual SwatchCollection GenerateSwatches( 
   SwatchInfo swatchInfo,
   string fileName,
   string minScale,
   string maxScale
)

Parameters

swatchInfo
Information for generating swatches
fileName
Root name of swatch file name
minScale
Minimum scale of layer
maxScale
Maximum scale of layer

Return Value

A collection of swatches

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

© 2009 All Rights Reserved.