Applies custom render settings to the specified layer

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

Syntax

Visual Basic
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
)
JavaScript
function setCustomRenderSettings(layerIndex, 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