ESRI.ArcGIS.ADF.Web
GenerateSwatches Method
See Also 
ESRI.ArcGIS.ADF.Web.Display.Renderer Namespace > IRenderer Interface : 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) 
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 IRenderer
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# 
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

See Also

© 2010 All Rights Reserved.