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 PointF, _
	zoom As Single, _
	renderSetings As RenderSettings, _
	projectionType As ProjectionType _
)
C#
public void Render(
	Graphics graphics,
	Size clientArea,
	PointF centre,
	float zoom,
	RenderSettings renderSetings,
	ProjectionType projectionType
)
Visual C++
public:
void Render(
	Graphics^ graphics, 
	Size clientArea, 
	PointF centre, 
	float zoom, 
	RenderSettings^ renderSetings, 
	ProjectionType projectionType
)
JavaScript
function render(graphics, clientArea, centre, zoom, renderSetings, 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: System.Drawing..::..PointF
The centre point in the ShapeFiles coordinates
zoom
Type: System..::..Single
The scaling to apply
renderSetings
Type: EGIS.ShapeFileLib..::..RenderSettings
render settings to apply when rendering the shapefile
projectionType
Type: EGIS.ShapeFileLib..::..ProjectionType

Remarks

If zoom is 1 and the width of the ShapeFile's extent is N units wide, then the ShapeFile wil be rendered N pixels wide. If zoom is 2 then shapefile will be rendered 2N pixels wide

See Also