Collapse All Expand All Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: JavaScript

Visual Basic
C#
Visual C++
JavaScript

Easy GIS .NET API Reference
SFMap..::.Refresh Method (Boolean)
SFMap Class See Also Send Feedback

Causes the map to redraw all of its contents immediately

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

# Syntax

Visual Basic (Declaration)
    Public Sub Refresh ( _
    	fullRefresh As Boolean _
    )

C#
    public void Refresh(
    	bool fullRefresh
    )

Visual C++
    public:
    void Refresh(
    	bool 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

SFMap Class
Refresh Overload
EGIS.Controls Namespace