Renders the shapefile centered at given point and zoom
Namespace:
EGIS.ShapeFileLib
Assembly:
EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)
Syntax
| Visual Basic |
|---|
Public Sub Render ( _
graphics As Graphics, _
clientArea As Size, _
centre As PointD, _
zoom As Double, _
projectionType As ProjectionType _
) |
| C# |
|---|
public void Render(
Graphics graphics,
Size clientArea,
PointD centre,
double zoom,
ProjectionType projectionType
) |
| Visual C++ |
|---|
public:
void Render(
Graphics^ graphics,
Size clientArea,
PointD centre,
double zoom,
ProjectionType projectionType
) |
| JavaScript |
|---|
function render(graphics, clientArea, centre, zoom, projectionType); |
Parameters
- graphics
- Type: System.Drawing..::..Graphics
The Graphics device to render to
- clientArea
- Type: System.Drawing..::..Size
The client area in pixels to draw
- centre
- Type: EGIS.ShapeFileLib..::..PointD
The centre point in the ShapeFiles coordinates
- zoom
- Type: System..::..Double
The scaling to apply
- projectionType
- Type: EGIS.ShapeFileLib..::..ProjectionType
The Map Projection to use when rendering the shapefile
Remarks
See Also