Collapse All Expand All Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: JavaScript

Visual Basic
C#
Visual C++
JavaScript

Easy GIS .NET API Reference
SFMap..::.SetCustomRenderSettings Method
SFMap Class See Also Send Feedback

Applies custom render settings to the specified layer

Namespace: EGIS.Web.Controls
Assembly: EGIS.Web.Controls (in EGIS.Web.Controls.dll)

# Syntax

Visual Basic (Declaration)
    Public Sub SetCustomRenderSettings ( _
    	layerIndex As Integer, _
    	settings As ICustomRenderSettings _
    )

C#
    public void SetCustomRenderSettings(
    	int layerIndex,
    	ICustomRenderSettings settings
    )

Visual C++
    public:
    void SetCustomRenderSettings(
    	int layerIndex,
    	ICustomRenderSettings^ settings
    )

#### Parameters

layerIndex
  Type: System..::.Int32
  The zero-based index of the layer to apply the custom render settings

settings
  Type: EGIS.ShapeFileLib..::.ICustomRenderSettings
  An ICustomRenderSettings object to set on the specified shapefile

# Remarks

The ICustomRenderSettings object is stored in the session settings, meaning that the custom render settings are applied per user's session.

If Custom Render Settings are used then it is usualy neccessary to set CacheOnClient to False

# See Also

SFMap Class
EGIS.Web.Controls Namespace
EGIS.ShapeFileLib..::.ICustomRenderSettings
EGIS.Web.Controls..::.QuantileCustomRenderSettings
SFMap..::.CacheOnClient