public BasicRasterLayer CreateRasterLayer( Item item, ILayerContainerEdit mapOrGroupLayer, LayerPosition position, string layerName, RasterColorizerDefinition colorizerDefinition )
Public Overloads Function CreateRasterLayer( _ ByVal item As Item, _ ByVal mapOrGroupLayer As ILayerContainerEdit, _ Optional ByVal position As LayerPosition, _ Optional ByVal layerName As String, _ Optional ByVal colorizerDefinition As RasterColorizerDefinition _ ) As BasicRasterLayer
Parameters
- item
- An ArcGIS.Desktop.Core.Item.
- mapOrGroupLayer
- A map or group layer to which the BasicRasterLayer will be added.
- position
- (Optional) A LayerPosition. (default value = LayerPosition.AutoArrange)
- layerName
- (Optional) A name to override the default display name of the layer.
- colorizerDefinition
- (Optional) A RasterColorizerDefinition to override the default ArcGIS.Core.CIM.CIMRasterColorizer of the layer.