ESRI.ArcGIS.ADF.Web
DrawNewSwatch(FeatureSymbol,String,Boolean) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.Display.Swatch Namespace > SwatchUtility Class > DrawNewSwatch Method : DrawNewSwatch(FeatureSymbol,String,Boolean) Method




sym
The symbol.
fileName
Name of the file.
keepInSession
if set to true [keep in session].
Draws the new swatch.

Syntax

Visual Basic (Declaration) 
Public Overloads Function DrawNewSwatch( _
   ByVal sym As FeatureSymbol, _
   ByVal fileName As String, _
   ByVal keepInSession As Boolean _
) As CartoImage
Visual Basic (Usage)Copy Code
Dim instance As SwatchUtility
Dim sym As FeatureSymbol
Dim fileName As String
Dim keepInSession As Boolean
Dim value As CartoImage
 
value = instance.DrawNewSwatch(sym, fileName, keepInSession)
C# 
public CartoImage DrawNewSwatch( 
   FeatureSymbol sym,
   string fileName,
   bool keepInSession
)

Parameters

sym
The symbol.
fileName
Name of the file.
keepInSession
if set to true [keep in session].

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

© 2011 All Rights Reserved.