Functions | |
| void | AxMap.ClearDrawing (int DrawHandle) |
| Clears all the drawings on the drawing layer specified. | |
| void | AxMap.ClearDrawings () |
| Clears all drawings on all drawing layers. This method is slower than using ClearDrawing on a specific layer. | |
| void | AxMap.DrawCircle (double x, double y, double pixelRadius, uint Color, bool fill) |
| Draws a circle on the last drawing layer created by NewDrawing. | |
| void | AxMap.DrawCircleEx (int LayerHandle, double x, double y, double pixelRadius, uint Color, bool fill) |
| Draws a circle on the specified drawing layer. | |
| void | AxMap.DrawLine (double x1, double y1, double x2, double y2, int pixelWidth, uint Color) |
| Draws a line on the last drawing layer created using NewDrawing. | |
| void | AxMap.DrawLineEx (int LayerHandle, double x1, double y1, double x2, double y2, int pixelWidth, uint Color) |
| Draws a line on the specified drawing layer. | |
| void | AxMap.DrawPoint (double x, double y, int pixelSize, uint Color) |
| Draws a point on the last drawing layer created by NewDrawing. | |
| void | AxMap.DrawPointEx (int LayerHandle, double x, double y, int pixelSize, uint Color) |
| Draws a point on the specified drawing layer. | |
| void | AxMap.DrawPolygon (ref object xPoints, ref object yPoints, int numPoints, uint Color, bool fill) |
| Draws a polygon on the last drawing layer created using NewDrawing. | |
| void | AxMap.DrawPolygonEx (int LayerHandle, ref object xPoints, ref object yPoints, int numPoints, uint Color, bool fill) |
| Draws a polygon on the specified drawing layer. | |
| void | AxMap.DrawWideCircle (double x, double y, double pixelRadius, uint Color, bool fill, short Width) |
| Draws a circle with custom outline width on the last drawing layer created by NewDrawing. | |
| void | AxMap.DrawWideCircleEx (int LayerHandle, double x, double y, double radius, uint Color, bool fill, short OutlineWidth) |
| Draws a circle with custom outline width on the specified drawing layer. | |
| void | AxMap.DrawWidePolygon (ref object xPoints, ref object yPoints, int numPoints, uint Color, bool fill, short Width) |
| Draws a polygon with custom width of outline on the last drawing layer created using NewDrawing. | |
| void | AxMap.DrawWidePolygonEx (int LayerHandle, ref object xPoints, ref object yPoints, int numPoints, uint Color, bool fill, short OutlineWidth) |
| Draws a polygon with custom width of outline on the last drawing layer created using NewDrawing. | |
| string | AxMap.get_DrawingKey (int DrawHandle) |
| Gets the drawing key which may be used by the programmer to store any string for a drawing layer with specified handle. | |
| int | AxMap.NewDrawing (MapWinGIS.tkDrawReferenceList Projection) |
| Creates a new drawing layer on the map returning its handle. | |
| void | AxMap.set_DrawingKey (int DrawHandle, string __p2) |
| Sets the drawing key may be used by the programmer to store any string for a drawing layer with specified handle. | |
| void | AxMap.SetDrawingLayerVisible (int LayerHandle, bool Visiable) |
| Sets the boolean value which indicates whether the labels of the drawing layer are visible. | |
| void | AxMap.SetDrawingStandardViewWidth (int DrawHandle, double Width) |
| Deprecated. Affects the scaling of the labels of the specified drawing layer. | |
Here is a list of methods and properties to interact with the drawing layers of the map. This module is a part of the documentation of AxMap class.
| void AxMap.ClearDrawing | ( | int | DrawHandle | ) |
Clears all the drawings on the drawing layer specified.
| DrawHandle | Drawing handle of the drawing layer for which all drawings are to be cleared. |
| void AxMap.ClearDrawings | ( | ) |
Clears all drawings on all drawing layers. This method is slower than using ClearDrawing on a specific layer.
| void AxMap.DrawCircle | ( | double | x, |
| double | y, | ||
| double | pixelRadius, | ||
| uint | Color, | ||
| bool | fill | ||
| ) |
Draws a circle on the last drawing layer created by NewDrawing.
| x | Center x coordinate for the circle to be drawn. |
| y | Center y coordinate for the circle to be drawn. |
| pixelRadius | Radius in pixels of the circle to be drawn. |
| Color | Color of the circle to be drawn. This is a UInt32 representation of an RGB color. |
| fill | Boolean value which determines whether the circle will be drawn with a fill or not. |
| void AxMap.DrawCircleEx | ( | int | LayerHandle, |
| double | x, | ||
| double | y, | ||
| double | pixelRadius, | ||
| uint | Color, | ||
| bool | fill | ||
| ) |
Draws a circle on the specified drawing layer.
| LayerHandle | The handle of the drawing layer created with AxMap.NewDrawing call. |
| x | Center x coordinate for the circle to be drawn. |
| y | Center y coordinate for the circle to be drawn. |
| pixelRadius | Radius in pixels of the circle to be drawn. |
| Color | Color of the circle to be drawn. This is a UInt32 representation of an RGB color. |
| fill | Boolean value which determines whether the circle will be drawn with a fill or not. |
| void AxMap.DrawLine | ( | double | x1, |
| double | y1, | ||
| double | x2, | ||
| double | y2, | ||
| int | pixelWidth, | ||
| uint | Color | ||
| ) |
Draws a line on the last drawing layer created using NewDrawing.
| x1 | X coordinate of the first point used to draw the line |
| y1 | Y coordinate of the first point used to draw the line. |
| x2 | X coordinate of the second point used to draw the line. |
| y2 | Y coordinate of the second point used to draw the line. |
| pixelWidth | Width of the line in pixels. |
| Color | Color to draw the line with. This is a UInt32 representation of an RGB value. |
| void AxMap.DrawLineEx | ( | int | LayerHandle, |
| double | x1, | ||
| double | y1, | ||
| double | x2, | ||
| double | y2, | ||
| int | pixelWidth, | ||
| uint | Color | ||
| ) |
Draws a line on the specified drawing layer.
| LayerHandle | The handle of the drawing layer created with AxMap.NewDrawing call. |
| x1 | X coordinate of the first point used to draw the line |
| y1 | Y coordinate of the first point used to draw the line. |
| x2 | X coordinate of the second point used to draw the line. |
| y2 | Y coordinate of the second point used to draw the line. |
| pixelWidth | Width of the line in pixels. |
| Color | Color to draw the line with. This is a UInt32 representation of an RGB value. |
| void AxMap.DrawPoint | ( | double | x, |
| double | y, | ||
| int | pixelSize, | ||
| uint | Color | ||
| ) |
Draws a point on the last drawing layer created by NewDrawing.
| x | The x coordinate of the point to draw |
| y | The y coordinate of the point to draw. |
| pixelSize | The size in pixels of the point to be drawn. |
| Color | The color of the point to be drawn. This is a UInt32 representation of an RGB color. |
| void AxMap.DrawPointEx | ( | int | LayerHandle, |
| double | x, | ||
| double | y, | ||
| int | pixelSize, | ||
| uint | Color | ||
| ) |
Draws a point on the specified drawing layer.
| LayerHandle | The handle of the drawing layer created with AxMap.NewDrawing call. |
| x | The x coordinate of the point to draw |
| y | The y coordinate of the point to draw. |
| pixelSize | The size in pixels of the point to be drawn. |
| Color | The color of the point to be drawn. This is a UInt32 representation of an RGB color. |
| void AxMap.DrawPolygon | ( | ref object | xPoints, |
| ref object | yPoints, | ||
| int | numPoints, | ||
| uint | Color, | ||
| bool | fill | ||
| ) |
Draws a polygon on the last drawing layer created using NewDrawing.
| xPoints | An array containing x-coordinates for each point in the polygon. |
| yPoints | An array containing y-coordiniates for each point in the polygon. |
| numPoints | The number of points in the polygon. |
| Color | The color to use when drawing the polygon. This is a UInt32 representation of an RGB color. |
| fill | A boolean value representing whether the polygon is drawn with a fill or not. |
| void AxMap.DrawPolygonEx | ( | int | LayerHandle, |
| ref object | xPoints, | ||
| ref object | yPoints, | ||
| int | numPoints, | ||
| uint | Color, | ||
| bool | fill | ||
| ) |
Draws a polygon on the specified drawing layer.
| LayerHandle | The handle of the drawing layer created with AxMap.NewDrawing call. |
| xPoints | An array containing x-coordinates for each point in the polygon. |
| yPoints | An array containing y-coordiniates for each point in the polygon. |
| numPoints | The number of points in the polygon. |
| Color | The color to use when drawing the polygon. This is a UInt32 representation of an RGB color. |
| fill | A boolean value representing whether the polygon is drawn with a fill or not. |
| void AxMap.DrawWideCircle | ( | double | x, |
| double | y, | ||
| double | pixelRadius, | ||
| uint | Color, | ||
| bool | fill, | ||
| short | Width | ||
| ) |
Draws a circle with custom outline width on the last drawing layer created by NewDrawing.
| x | Center x coordinate for the circle to be drawn. |
| y | Center y coordinate for the circle to be drawn. |
| pixelRadius | Radius in pixels of the circle to be drawn. |
| Color | Color of the circle to be drawn. This is a UInt32 representation of an RGB color. |
| fill | Boolean value which determines whether the circle will be drawn with a fill or not. |
| Width | The width of the outline. |
| void AxMap.DrawWideCircleEx | ( | int | LayerHandle, |
| double | x, | ||
| double | y, | ||
| double | radius, | ||
| uint | Color, | ||
| bool | fill, | ||
| short | OutlineWidth | ||
| ) |
Draws a circle with custom outline width on the specified drawing layer.
| LayerHandle | The handle of the drawing layer created with AxMap.NewDrawing call. |
| x | Center x coordinate for the circle to be drawn. |
| y | Center y coordinate for the circle to be drawn. |
| pixelRadius | Radius in pixels of the circle to be drawn. |
| Color | Color of the circle to be drawn. This is a UInt32 representation of an RGB color. |
| fill | Boolean value which determines whether the circle will be drawn with a fill or not. |
| Width | The width of the outline. |
| void AxMap.DrawWidePolygon | ( | ref object | xPoints, |
| ref object | yPoints, | ||
| int | numPoints, | ||
| uint | Color, | ||
| bool | fill, | ||
| short | Width | ||
| ) |
Draws a polygon with custom width of outline on the last drawing layer created using NewDrawing.
| xPoints | An array containing x-coordinates for each point in the polygon. |
| yPoints | An array containing y-coordiniates for each point in the polygon. |
| numPoints | The number of points in the polygon. |
| Color | The color to use when drawing the polygon. This is a UInt32 representation of an RGB color. |
| fill | A boolean value representing whether the polygon is drawn with a fill or not. |
| Width | The width of the outline. |
| void AxMap.DrawWidePolygonEx | ( | int | LayerHandle, |
| ref object | xPoints, | ||
| ref object | yPoints, | ||
| int | numPoints, | ||
| uint | Color, | ||
| bool | fill, | ||
| short | OutlineWidth | ||
| ) |
Draws a polygon with custom width of outline on the last drawing layer created using NewDrawing.
| LayerHandle | The handle of the drawing layer created with AxMap.NewDrawing call. |
| xPoints | An array containing x-coordinates for each point in the polygon. |
| yPoints | An array containing y-coordiniates for each point in the polygon. |
| numPoints | The number of points in the polygon. |
| Color | The color to use when drawing the polygon. This is a UInt32 representation of an RGB color. |
| fill | A boolean value representing whether the polygon is drawn with a fill or not. |
| Width | The width of the outline. |
| string AxMap.get_DrawingKey | ( | int | DrawHandle | ) |
Gets the drawing key which may be used by the programmer to store any string for a drawing layer with specified handle.
| DrawHandle | The handle of the drawing layer. |
| int AxMap.NewDrawing | ( | MapWinGIS.tkDrawReferenceList | Projection | ) |
Creates a new drawing layer on the map returning its handle.
| Projection | Sets the coordinate system to use for the new drawing layer to be created. (ScreenReferenced uses pixels in screen coordinates. SpatiallyReferenced uses projected map units.) |
| void AxMap.set_DrawingKey | ( | int | DrawHandle, |
| string | __p2 | ||
| ) |
Sets the drawing key may be used by the programmer to store any string for a drawing layer with specified handle.
| DrawHandle | The handle of the drawing layer. |
| __p2 | The string associated with the layer. |
| void AxMap.SetDrawingLayerVisible | ( | int | LayerHandle, |
| bool | Visiable | ||
| ) |
Sets the boolean value which indicates whether the labels of the drawing layer are visible.
| LayerHandle | The handle of the drawing layer. |
| Visiable | A boolean value which indicates whether the labels are visible. |
| void AxMap.SetDrawingStandardViewWidth | ( | int | DrawHandle, |
| double | Width | ||
| ) |
Deprecated. Affects the scaling of the labels of the specified drawing layer.
| DrawHandle | The handle of the drawing layer. |
| Width | The width in pixels. |
1.7.6.1