Метод | Описание | |
---|---|---|
AddElement ( |
Adds an element to this legend.
|
|
AddElementsForLayer ( LayerBase layer, int imagesWidth, int imagesHeight ) : void |
Creates legend elements for the specified layer and adds it to this legend.
|
|
BuildLegendForMap ( Map map, int imagesWidth, int imagesHeight ) : void |
Builds a legend for a layers of a map.
|
|
ClearElements ( ) : void |
Removes all elements from this legend.
|
|
InsertElement ( |
Interts an element to this legend.
|
Метод | Описание | |
---|---|---|
CheckCaption ( string caption ) : void |
Checks a legend caption. Implementations should throw an exception if a caption value is impossible.
|
|
CheckNewElement ( |
Checks an element. Implementations should throw an exception if an element may not be added.
|
public AddElement ( |
||
element | An element to add | |
Результат | void |
public AddElementsForLayer ( LayerBase layer, int imagesWidth, int imagesHeight ) : void | ||
layer | LayerBase | A layer which is used to generate elements |
imagesWidth | int | A value specifying a width of images of the elements |
imagesHeight | int | A value specifying a height of images of the elements |
Результат | void |
public BuildLegendForMap ( Map map, int imagesWidth, int imagesHeight ) : void | ||
map | Map | |
imagesWidth | int | |
imagesHeight | int | |
Результат | void |
protected abstract CheckCaption ( string caption ) : void | ||
caption | string | A caption value to check |
Результат | void |
protected abstract CheckNewElement ( |
||
element | An element to check | |
Результат | void |
public InsertElement ( |
||
element | An element to insert | |
index | int | A zero-based index at which insert the element |
Результат | void |