RasterMapLayer.RasterMapLayer

RasterMapLayer constructor

Creates new instance.

public RasterMapLayer(RasterLayer layer, RasterColorizer colorizer = null, bool keepOpen = false)
ParameterTypeDescription
layerRasterLayerRaster layer.
colorizerRasterColorizerSymbolizer to use to render layer. If null, default colorizer will be used.
keepOpenBooleantrue to leave the layer open after the VectorMapLayer object is disposed; otherwise, false.

Exceptions

exceptioncondition
ArgumentNullExceptionLayer is null.

See Also