ESRI.ArcGIS.Mobile
GetLegendSwatches(Color,Int32,Int32) Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile Namespace > Renderer Class > GetLegendSwatches Method : GetLegendSwatches(Color,Int32,Int32) Method

backgroundColor
The background color of the swatches.
width
Width of the swatches.
height
Height of the swatches.
Returns a collection of LegendSwatches for the different symbols used by this Layer object with this renderer.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetLegendSwatches( _
   ByVal backgroundColor As Color, _
   ByVal width As Integer, _
   ByVal height As Integer _
) As IList(Of LegendSwatch)
C# 
public IList<LegendSwatch> GetLegendSwatches( 
   Color backgroundColor,
   int width,
   int height
)

Parameters

backgroundColor
The background color of the swatches.
width
Width of the swatches.
height
Height of the swatches.

Requirements

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