ESRI.ArcGIS.ADF.IMS
Generate(Renderer,String,String,String) Method
See Also 
ESRI.ArcGIS.ADF.IMS.Display.Swatch Namespace > SwatchGenerator Class > Generate Method : Generate(Renderer,String,String,String) Method




ren
Renderer to generate swatches for.
fileName
File name to use for swatches.
minScale
Minimum scale for the layer.
maxScale
Maximum scale for the layer.
Generates a swatch collection for the renderer.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Generate( _
   ByVal ren As Renderer, _
   ByVal fileName As String, _
   ByVal minScale As String, _
   ByVal maxScale As String _
) As SwatchCollection
Visual Basic (Usage)Copy Code
Dim instance As SwatchGenerator
Dim ren As Renderer
Dim fileName As String
Dim minScale As String
Dim maxScale As String
Dim value As SwatchCollection
 
value = instance.Generate(ren, fileName, minScale, maxScale)
C# 
public SwatchCollection Generate( 
   Renderer ren,
   string fileName,
   string minScale,
   string maxScale
)

Parameters

ren
Renderer to generate swatches for.
fileName
File name to use for swatches.
minScale
Minimum scale for the layer.
maxScale
Maximum scale for the layer.

Return Value

Collection of drawn swatches.

See Also

© 2010 All Rights Reserved.