Causes the map to redraw all of its contents immediately

Namespace:  EGIS.Controls
Assembly:  EGIS.Controls (in EGIS.Controls.dll)

Syntax

Visual Basic
Public Sub Refresh ( _
	fullRefresh As Boolean _
)
C#
public void Refresh(
	bool fullRefresh
)
Visual C++
public:
void Refresh(
	bool fullRefresh
)
JavaScript
function refresh(fullRefresh);

Parameters

fullRefresh
Type: System..::..Boolean
Flag to indicate whether to redraw al layers or just re-draw the internal buffer

Remarks

Internally the SFMap control uses an offsceen buffer to draw the contents of the map to, which provides efficient painting when the control is redrawn due to an OS call (i.e. another window is moved accross the SFMap control). Caling this method with fullRefresh set to true will cause the internal buffer to be re-drawn. You should call this method if a ShapeFile's RenderSettings are changed to ensure the layer is redrawn.

See Also