Functions | |
string | AxMap.get_LayerDescription (int layerHandle) |
Gets the description of the layer from the associated .mwsymb file. More... | |
bool | AxMap.get_LayerDynamicVisibility (int layerHandle) |
Gets the boolean value which indicates whether the layer will be displayed at all scales or only within the chosen range of scales. More... | |
string | AxMap.get_LayerFilename (int layerHandle) |
Gets filename of datasource for the specified layer. More... | |
string | AxMap.get_LayerKey (int layerHandle) |
Gets a string associated with a layer in the map. More... | |
Labels | AxMap.get_LayerLabels (int layerHandle) |
Returns labels associated with layer. More... | |
double | AxMap.get_LayerMaxVisibleScale (int layerHandle) |
Gets the maximum scale at which the layer is visible on the map. More... | |
int | AxMap.get_LayerMaxVisibleZoom (int layerHandle) |
Gets maximum zoom at which the layer will be displayed. More... | |
double | AxMap.get_LayerMinVisibleScale (int layerHandle) |
Gets the minimum scale at which the layer is visible on the map. More... | |
int | AxMap.get_LayerMinVisibleZoom (int layerHandle) |
Gets minimum zoom at which the layer will be displayed. More... | |
string | AxMap.get_LayerName (int layerHandle) |
Gets the name of the specified layer. More... | |
bool | AxMap.get_LayerSkipOnSaving (int layerHandle) |
Gets a boolean value which indicates whether the layer will be serialized by appropriate routines. More... | |
bool | AxMap.get_LayerVisible (int layerHandle) |
Gets the visibility of the specified layer. More... | |
object | AxMap.GetColorScheme (int layerHandle) |
Returns a color scheme for the specified layer. More... | |
void | AxMap.set_LayerDescription (int layerHandle, string newValue) |
Sets the description of the layer. More... | |
void | AxMap.set_LayerDynamicVisibility (int layerHandle, bool newValue) |
Sets the boolean value which indicates whether the layer will be displayed at all scales or only within the chosen range of scales. More... | |
void | AxMap.set_LayerKey (int layerHandle, string newValue) |
Sets a string associated with a layer in the map. More... | |
void | AxMap.set_LayerLabels (int layerHandle, Labels newValue) |
Sets the labels associated with the layer. More... | |
void | AxMap.set_LayerMaxVisibleScale (int layerHandle, double newValue) |
Sets the maximum scale at which the layer is visible on the map. More... | |
void | AxMap.set_LayerMaxVisibleZoom (int layerHandle, int param0) |
Sets maximum zoom at which the layer will be displayed. More... | |
void | AxMap.set_LayerMinVisibleScale (int layerHandle, double newValue) |
Sets the minimum scale at which the layer is visible on the map. More... | |
void | AxMap.set_LayerMinVisibleZoom (int layerHandle, int param0) |
Sets minimum zoom at which the layer will be displayed. More... | |
void | AxMap.set_LayerName (int layerHandle, string newValue) |
Sets the name of the specified layer. More... | |
void | AxMap.set_LayerSkipOnSaving (int layerHandle, bool newValue) |
Sets a boolean value which indicates whether the layer will be serialized by appropriate routines. More... | |
void | AxMap.set_LayerVisible (int layerHandle, bool newValue) |
Sets the visibility of the specified layer. More... | |
bool | AxMap.SetImageLayerColorScheme (int layerHandle, object colorScheme) |
Sets the color scheme of an image layer More... | |
Here is a list of properties common to all data layers. This module is a part of the documentation of AxMap class.
string AxMap.get_LayerDescription | ( | int | layerHandle | ) |
Gets the description of the layer from the associated .mwsymb file.
layerHandle | The handle of the layer. |
bool AxMap.get_LayerDynamicVisibility | ( | int | layerHandle | ) |
Gets the boolean value which indicates whether the layer will be displayed at all scales or only within the chosen range of scales.
layerHandle | The handle of the layer. |
string AxMap.get_LayerFilename | ( | int | layerHandle | ) |
Gets filename of datasource for the specified layer.
layerHandle | Layer handle. |
string AxMap.get_LayerKey | ( | int | layerHandle | ) |
Gets a string associated with a layer in the map.
This string can be used to store any string data desired by the developer.
layerHandle | The handle for the layer for which the layer key is to be set. |
Labels AxMap.get_LayerLabels | ( | int | layerHandle | ) |
Returns labels associated with layer.
Labels can also be obtained by using Shapefile.Labels and Image.Labels.
layerHandle | The handle of the layer. |
double AxMap.get_LayerMaxVisibleScale | ( | int | layerHandle | ) |
Gets the maximum scale at which the layer is visible on the map.
layerHandle | The handle of the layer. |
int AxMap.get_LayerMaxVisibleZoom | ( | int | layerHandle | ) |
Gets maximum zoom at which the layer will be displayed.
layerHandle |
It's analogous to get_LayerMaxVisibleScale, only scale specified as zoom level of the current tile provider (Map.Tiles.Provider).
double AxMap.get_LayerMinVisibleScale | ( | int | layerHandle | ) |
Gets the minimum scale at which the layer is visible on the map.
layerHandle | The handle of the layer. |
int AxMap.get_LayerMinVisibleZoom | ( | int | layerHandle | ) |
Gets minimum zoom at which the layer will be displayed.
layerHandle |
It's analogous to get_LayerMinVisibleScale, only scale specified as zoom level of the current tile provider (Map.Tiles.Provider).
string AxMap.get_LayerName | ( | int | layerHandle | ) |
Gets the name of the specified layer.
layerHandle | The handle of the layer for which the name is to be set. |
bool AxMap.get_LayerSkipOnSaving | ( | int | layerHandle | ) |
Gets a boolean value which indicates whether the layer will be serialized by appropriate routines.
This property affects AxMap.SaveMapState, AxMap.SerializeMapState.
layerHandle | The handle of the layer. |
bool AxMap.get_LayerVisible | ( | int | layerHandle | ) |
Gets the visibility of the specified layer.
layerHandle | The handle of the layer for which the visibility is being set. |
object AxMap.GetColorScheme | ( | int | layerHandle | ) |
Returns a color scheme for the specified layer.
layerHandle | The layer handle of the layer for which the coloring scheme is required |
void AxMap.set_LayerDescription | ( | int | layerHandle, |
string | newValue | ||
) |
Sets the description of the layer.
The information will be stored in .mwsymb file associated with data layer.
layerHandle | The handle of the layer. |
newValue | The description of the layer. |
void AxMap.set_LayerDynamicVisibility | ( | int | layerHandle, |
bool | newValue | ||
) |
Sets the boolean value which indicates whether the layer will be displayed at all scales or only within the chosen range of scales.
layerHandle | The handle of the layer. |
newValue | True in case the layer will be displayed between specified scales only. |
void AxMap.set_LayerKey | ( | int | layerHandle, |
string | newValue | ||
) |
Sets a string associated with a layer in the map.
This string can be used to store any string data desired by the developer.
layerHandle | The handle of the layer. |
newValue | The string to be associated with layer. |
void AxMap.set_LayerLabels | ( | int | layerHandle, |
Labels | newValue | ||
) |
Sets the labels associated with the layer.
layerHandle | The handle of the layer. |
newValue | The new instance of the Labels class to be associated with the layer. |
void AxMap.set_LayerMaxVisibleScale | ( | int | layerHandle, |
double | newValue | ||
) |
Sets the maximum scale at which the layer is visible on the map.
layerHandle | The handle of the layer. |
newValue | The maximum visible scale for the layer. |
void AxMap.set_LayerMaxVisibleZoom | ( | int | layerHandle, |
int | param0 | ||
) |
Sets maximum zoom at which the layer will be displayed.
layerHandle | Layer handle. |
param0 | The new value of max zoom. |
It's analogous to set_LayerMaxVisibleScale, only scale specified as zoom level of the current tile provider (Map.Tiles.Provider).
void AxMap.set_LayerMinVisibleScale | ( | int | layerHandle, |
double | newValue | ||
) |
Sets the minimum scale at which the layer is visible on the map.
layerHandle | The handle of the layer. |
newValue | The minimum visible scale for the layer. |
void AxMap.set_LayerMinVisibleZoom | ( | int | layerHandle, |
int | param0 | ||
) |
Sets minimum zoom at which the layer will be displayed.
layerHandle | Layer handle. |
param0 | The new value of max zoom. |
It's analogous to set_LayerMinVisibleScale, only scale specified as zoom level of the current tile provider (Map.Tiles.Provider).
void AxMap.set_LayerName | ( | int | layerHandle, |
string | newValue | ||
) |
Sets the name of the specified layer.
layerHandle | The handle of the layer for which the name is to be set. |
newValue | The name to be set for the layer. |
void AxMap.set_LayerSkipOnSaving | ( | int | layerHandle, |
bool | newValue | ||
) |
Sets a boolean value which indicates whether the layer will be serialized by appropriate routines.
This property affects AxMap.SaveMapState, AxMap.SerializeMapState.
layerHandle | The handle of the layer. |
newValue | True in case the layer will be excluded from serialization and false otherwise. |
void AxMap.set_LayerVisible | ( | int | layerHandle, |
bool | newValue | ||
) |
Sets the visibility of the specified layer.
layerHandle | The handle of the layer for which the visibility is returned. |
newValue | A boolean value representing whether the layer is to be visible or not. |
bool AxMap.SetImageLayerColorScheme | ( | int | layerHandle, |
object | colorScheme | ||
) |
Sets the color scheme of an image layer
layerHandle | The handle if the layer the color scheme needs to set |
colorScheme | The color scheme |