ESRI.ArcGIS.ADF.Web
GenerateSwatches Method
See Also 
ESRI.ArcGIS.ADF.Web.Display.Renderer Namespace > GroupRenderer Class : GenerateSwatches Method




swatchInfo
Information for generating swatches
fileName
Name of swatch
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 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 GroupRenderer
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 SwatchCollection GenerateSwatches( 
   SwatchInfo swatchInfo,
   string fileName,
   string minScale,
   string maxScale
)

Parameters

swatchInfo
Information for generating swatches
fileName
Name of swatch
minScale
Minimum scale of layer
maxScale
Maximum scale of layer

Return Value

A collection of swatches

See Also

© 2010 All Rights Reserved.