[]
Provides functionality that allows to use the C1.Win.Map.C1Map control to generate maps in reports.
public class C1Mapper
TODO:
| Name | Description |
|---|---|
| C1Mapper(IMapperOwner) | Initializes a new instance of the C1Mapper class. |
| Name | Description |
|---|---|
| Height | Gets or sets the height of C1.Win.Map.C1Map. |
| Width | Gets or sets the width of C1.Win.Map.C1Map. |
| Name | Description |
|---|---|
| AddBoundingPoint(double, double) | Creates a new bounding box using the given coordinates. |
| ClearMarks() | Clears all previously added marks and lines. (Does not affect KML layers.) |
| DistancePix(double, double, double, double) | Calculates screen distance (in 96dpi pixels) between two points. |
| DoCenterAndZoom() | Centers and zooms the map based on owner settings (including auto zoom/center). |
| DrawLine(string, double, double, double, double, Color, DashStyle, double) | Adds a line to the lines layer. |
| DrawLine(string, double, double, double, double, Color, Color, DashStyle, double) | Adds a line to the lines layer. |
| DrawPoint(string, double, double, string, Font, Color, MarkerShape, double, Color, Color) | Adds a point. |
| GetImage(bool, double, double) | Gets a System.Drawing.Image representing the current map. |
| HideShowTools() | Sets visibility of the standard C1Maps tools (scale, pan and zoom) based on owner's settings. |
| RefreshImage(bool) | Gets image representing the current map, with the previous data. |
| ResetBoundingPoints() | Reset bounding rectangle to its default value. |
| UpdateKmlLayer(string, Stream, AddingKmlItemDelegate) | Adds a layer created from the specified KML stream. |
| Name | Description |
|---|---|
| TileLoaded | Occurs when the tile images is downloaded. |