ESRI.ArcGIS.ADF.Web.UI.WebControls
Apply(GraphicsLayer,Boolean) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > LayerFormat Class > Apply Method : Apply(GraphicsLayer,Boolean) Method




graphicsLayer
Graphics layer to apply formatting to.
selectAll
Whether to select all features in the graphics layer. Features have to be selected to be visible because LayerFormat.Renderer is applied as the selected renderer of the graphics layer. The default renderer of the graphics layer will be null.
Applies title format, contents format and renderers to the graphics layer

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Apply( _
   ByVal graphicsLayer As ESRI.ArcGIS.ADF.Web.Display.Graphics.GraphicsLayer, _
   ByVal selectAll As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As LayerFormat
Dim graphicsLayer As ESRI.ArcGIS.ADF.Web.Display.Graphics.GraphicsLayer
Dim selectAll As Boolean
 
instance.Apply(graphicsLayer, selectAll)
C# 
public void Apply( 
   ESRI.ArcGIS.ADF.Web.Display.Graphics.GraphicsLayer graphicsLayer,
   bool selectAll
)

Parameters

graphicsLayer
Graphics layer to apply formatting to.
selectAll
Whether to select all features in the graphics layer. Features have to be selected to be visible because LayerFormat.Renderer is applied as the selected renderer of the graphics layer. The default renderer of the graphics layer will be null.

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.