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

Visual Basic
C#
Visual C++
JavaScript
Include Protected Members
Include Inherited Members

Easy GIS .NET API Reference
SFMap Methods
SFMap Class See Also Send Feedback

The SFMap type exposes the following members.

# Methods

| Name | Description
--- | --- | ---
| AccessibilityNotifyClients | Overloaded.
| AddShapeFile | Adds a new ShapeFile layer to the map
| AdjustFormScrollbars | (Inherited from ContainerControl.)
| BeginInvoke | Overloaded.
| BringToFront | Brings the control to the front of the z-order. (Inherited from Control.)
| ClearShapeFiles | Removes all ShapeFile layers from the map
| Contains | Retrieves a value indicating whether the specified control is a child of the control. (Inherited from Control.)
| CreateAccessibilityInstance | Creates a new accessibility object for the control. (Inherited from Control.)
| CreateControl | Forces the creation of the control, including the creation of the handle and any child controls. (Inherited from Control.)
| CreateControlsInstance | Creates a new instance of the control collection for the control. (Inherited from Control.)
| CreateGraphics | Creates the Graphics for the control. (Inherited from Control.)
| CreateHandle | Creates a handle for the control. (Inherited from Control.)
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
| DefWndProc | Sends the specified message to the default window procedure. (Inherited from Control.)
| DestroyHandle | Destroys the handle associated with the control. (Inherited from Control.)
| Dispose | Overloaded.
| DoDragDrop | Begins a drag-and-drop operation. (Inherited from Control.)
| DrawToBitmap | Supports rendering to the specified bitmap. (Inherited from Control.)
| EndInvoke | Retrieves the return value of the asynchronous operation represented by the IAsyncResult passed. (Inherited from Control.)
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
| FindForm | Retrieves the form that the control is on. (Inherited from Control.)
| FindShapeFileBypath | Finds and returns the ShapeFile which was loaded from the given path
| Focus | Sets input focus to the control. (Inherited from Control.)
| GetAccessibilityObjectById | Retrieves the specified AccessibleObject. (Inherited from Control.)
| GetAutoSizeMode | Retrieves a value indicating how a control will behave when its AutoSize property is enabled. (Inherited from Control.)
| GetBitmap | Utility method that creates and returns a new Bitmap Image of the current map displayed in the SFMap Control
| GetChildAtPoint | Overloaded.
| GetContainerControl | Returns the next ContainerControl up the control's chain of parent controls. (Inherited from Control.)
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
| GetNextControl | Retrieves the next control forward or back in the tab order of child controls. (Inherited from Control.)
| GetPreferredSize | Retrieves the size of a rectangular area into which a control can be fitted. (Inherited from Control.)
| GetScaledBounds | Retrieves the bounds within which the control is scaled. (Inherited from Control.)
| GetScrollState | Determines whether the specified flag has been set. (Inherited from ScrollableControl.)
| GetService | Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
| GetStyle | Retrieves the value of the specified control style bit for the control. (Inherited from Control.)
| GetTopLevel | Determines if the control is a top-level control. (Inherited from Control.)
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| GisPointToPixelCoord | Overloaded.
| Hide | Conceals the control from the user. (Inherited from Control.)
| IndexOfShapeFileByPath | Finds and returns the index of the ShapeFile which was loaded from the given path
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
| InitLayout | Called after the control has been added to another container. (Inherited from Control.)
| Invalidate | Overloaded.
| Invoke | Overloaded.
| InvokeGotFocus | Raises the GotFocus event for the specified control. (Inherited from Control.)
| InvokeLostFocus | Raises the LostFocus event for the specified control. (Inherited from Control.)
| InvokeOnClick | Raises the Click event for the specified control. (Inherited from Control.)
| InvokePaint | Raises the Paint event for the specified control. (Inherited from Control.)
| InvokePaintBackground | Raises the PaintBackground event for the specified control. (Inherited from Control.)
| IsInputChar | Determines if a character is an input character that the control recognizes. (Inherited from Control.)
| IsInputKey | Determines whether the specified key is a regular input key or a special key that requires preprocessing. (Inherited from Control.)
| LoadOptimalRenderSettings |
| MemberwiseClone | Overloaded.
| MousePosToGisPoint | Overloaded.
| MoveShapeFileDown | Moves the spcified ShapeFile "down" in the ShapeFile layers
| MoveShapeFileUp | Moves the spcified ShapeFile "up" in the ShapeFile layers
| NotifyInvalidate | Raises the Invalidated event with a specified region of the control to invalidate. (Inherited from Control.)
| OnAutoSizeChanged | Raises the AutoSizeChanged event. (Inherited from Control.)
| OnAutoValidateChanged | Raises the AutoValidateChanged event. (Inherited from ContainerControl.)
| OnBackColorChanged | Raises the BackColorChanged event. (Inherited from Control.)
| OnBackgroundImageChanged | Raises the BackgroundImageChanged event. (Inherited from Control.)
| OnBackgroundImageLayoutChanged | Raises the BackgroundImageLayoutChanged event. (Inherited from Control.)
| OnBindingContextChanged | Raises the BindingContextChanged event. (Inherited from Control.)
| OnCausesValidationChanged | Raises the CausesValidationChanged event. (Inherited from Control.)
| OnChangeUICues | Raises the ChangeUICues event. (Inherited from Control.)
| OnClick | Raises the Click event. (Inherited from Control.)
| OnClientSizeChanged | Raises the ClientSizeChanged event. (Inherited from Control.)
| OnContextMenuChanged | Raises the ContextMenuChanged event. (Inherited from Control.)
| OnContextMenuStripChanged | Raises the ContextMenuStripChanged event. (Inherited from Control.)
| OnControlAdded | Raises the ControlAdded event. (Inherited from Control.)
| OnControlRemoved | Raises the ControlRemoved event. (Inherited from Control.)
| OnCreateControl | Raises the CreateControl event. (Inherited from UserControl.)
| OnCursorChanged | Raises the CursorChanged event. (Inherited from Control.)
| OnDockChanged | Raises the DockChanged event. (Inherited from Control.)
| OnDoubleClick | Handles the DoubleClick event. Derived classes overriding this method should call base.OnDoubleClick to ensure the SFMap control handles the event correctly (Overrides Control..::.OnDoubleClick(EventArgs).)
| OnDragDrop | Raises the DragDrop event. (Inherited from Control.)
| OnDragEnter | Raises the DragEnter event. (Inherited from Control.)
| OnDragLeave | Raises the DragLeave event. (Inherited from Control.)
| OnDragOver | Raises the DragOver event. (Inherited from Control.)
| OnEnabledChanged | Raises the EnabledChanged event. (Inherited from Control.)
| OnEnter | Raises the Enter event. (Inherited from Control.)
| OnFontChanged | Raises the FontChanged event. (Inherited from ContainerControl.)
| OnForeColorChanged | Raises the ForeColorChanged event. (Inherited from Control.)
| OnGiveFeedback | Raises the GiveFeedback event. (Inherited from Control.)
| OnGotFocus | Raises the GotFocus event. (Inherited from Control.)
| OnHandleCreated | Raises the HandleCreated event. (Inherited from Control.)
| OnHandleDestroyed | Raises the HandleDestroyed event. (Inherited from Control.)
| OnHelpRequested | Raises the HelpRequested event. (Inherited from Control.)
| OnImeModeChanged | Raises the ImeModeChanged event. (Inherited from Control.)
| OnInvalidated | Raises the Invalidated event. (Inherited from Control.)
| OnKeyDown | Raises the KeyDown event. (Inherited from Control.)
| OnKeyPress | Raises the KeyPress event. (Inherited from Control.)
| OnKeyUp | Raises the KeyUp event. (Inherited from Control.)
| OnLayout | (Inherited from ContainerControl.)
| OnLeave | Raises the Leave event. (Inherited from Control.)
| OnLoad | Raises the Load event. (Inherited from UserControl.)
| OnLocationChanged | Raises the LocationChanged event. (Inherited from Control.)
| OnLostFocus | Raises the LostFocus event. (Inherited from Control.)
| OnMarginChanged | Raises the MarginChanged event. (Inherited from Control.)
| OnMouseCaptureChanged | Raises the MouseCaptureChanged event. (Inherited from Control.)
| OnMouseClick | Raises the MouseClick event. (Inherited from Control.)
| OnMouseDoubleClick | Raises the MouseDoubleClick event. (Inherited from Control.)
| OnMouseDown | Handles the MouseDown event. Derived classes overriding this method should call base.OnMouseDown to ensure the SFMap control handles the event correctly (Overrides UserControl..::.OnMouseDown(MouseEventArgs).)
| OnMouseEnter | Raises the MouseEnter event. (Inherited from Control.)
| OnMouseHover | Raises the MouseHover event. (Inherited from Control.)
| OnMouseLeave | Handles the MouseLeave event. Derived classes overriding this method should call base.OnMouseLeave to ensure the SFMap control handles the event correctly (Overrides Control..::.OnMouseLeave(EventArgs).)
| OnMouseMove | Handles the MouseMove event. Derived classes overriding this method should call base.OnMouseMove to ensure the SFMap control handles the event correctly (Overrides Control..::.OnMouseMove(MouseEventArgs).)
| OnMouseUp | Handles the MouseUp event. Derived classes overriding this method should call base.OnMouseUp to ensure the SFMap control handles the event correctly (Overrides Control..::.OnMouseUp(MouseEventArgs).)
| OnMouseWheel | Handles the MouseWheel event. Derived classes overriding this method should call base.OnMouseWheel to ensure the SFMap control handles the event correctly (Overrides ScrollableControl..::.OnMouseWheel(MouseEventArgs).)
| OnMove | Raises the Move event. (Inherited from Control.)
| OnNotifyMessage | Notifies the control of Windows messages. (Inherited from Control.)
| OnPaddingChanged | (Inherited from ScrollableControl.)
| OnPaint | (Overrides Control..::.OnPaint(PaintEventArgs).)
| OnPaintBackground | (Inherited from ScrollableControl.)
| OnParentBackColorChanged | Raises the BackColorChanged event when the BackColor property value of the control's container changes. (Inherited from Control.)
| OnParentBackgroundImageChanged | Raises the BackgroundImageChanged event when the BackgroundImage property value of the control's container changes. (Inherited from Control.)
| OnParentBindingContextChanged | Raises the BindingContextChanged event when the BindingContext property value of the control's container changes. (Inherited from Control.)
| OnParentChanged | (Inherited from ContainerControl.)
| OnParentCursorChanged | Raises the CursorChanged event. (Inherited from Control.)
| OnParentEnabledChanged | Raises the EnabledChanged event when the Enabled property value of the control's container changes. (Inherited from Control.)
| OnParentFontChanged | Raises the FontChanged event when the Font property value of the control's container changes. (Inherited from Control.)
| OnParentForeColorChanged | Raises the ForeColorChanged event when the ForeColor property value of the control's container changes. (Inherited from Control.)
| OnParentRightToLeftChanged | Raises the RightToLeftChanged event when the RightToLeft property value of the control's container changes. (Inherited from Control.)
| OnParentVisibleChanged | Raises the VisibleChanged event when the Visible property value of the control's container changes. (Inherited from Control.)
| OnPreviewKeyDown | Raises the PreviewKeyDown event. (Inherited from Control.)
| OnPrint | Raises the Paint event. (Inherited from Control.)
| OnQueryContinueDrag | Raises the QueryContinueDrag event. (Inherited from Control.)
| OnRegionChanged | Raises the RegionChanged event. (Inherited from Control.)
| OnResize | (Overrides UserControl..::.OnResize(EventArgs).)
| OnRightToLeftChanged | (Inherited from ScrollableControl.)
| OnScroll | Raises the Scroll event. (Inherited from ScrollableControl.)
| OnShapeFilesChanged | Fires the ShapeFilesChanged event
| OnSizeChanged | Raises the SizeChanged event. (Inherited from Control.)
| OnStyleChanged | Raises the StyleChanged event. (Inherited from Control.)
| OnSystemColorsChanged | Raises the SystemColorsChanged event. (Inherited from Control.)
| OnTabIndexChanged | Raises the TabIndexChanged event. (Inherited from Control.)
| OnTabStopChanged | Raises the TabStopChanged event. (Inherited from Control.)
| OnTextChanged | Raises the TextChanged event. (Inherited from Control.)
| OnValidated | Raises the Validated event. (Inherited from Control.)
| OnValidating | Raises the Validating event. (Inherited from Control.)
| OnVisibleChanged | (Inherited from ScrollableControl.)
| OnZoomLevelChanged | Fires the ZoomLevelChanged event
| PerformAutoScale | Performs scaling of the container control and its children. (Inherited from ContainerControl.)
| PerformLayout | Overloaded.
| PixelCoordToGisPoint | Overloaded.
| PointToClient | Computes the location of the specified screen point into client coordinates. (Inherited from Control.)
| PointToScreen | Computes the location of the specified client point into screen coordinates. (Inherited from Control.)
| PreProcessControlMessage | Preprocesses keyboard or input messages within the message loop before they are dispatched. (Inherited from Control.)
| PreProcessMessage | Preprocesses keyboard or input messages within the message loop before they are dispatched. (Inherited from Control.)
| ProcessCmdKey | (Inherited from ContainerControl.)
| ProcessDialogChar | (Inherited from ContainerControl.)
| ProcessDialogKey | (Inherited from ContainerControl.)
| ProcessKeyEventArgs | Processes a key message and generates the appropriate control events. (Inherited from Control.)
| ProcessKeyMessage | Processes a keyboard message. (Inherited from Control.)
| ProcessKeyPreview | Previews a keyboard message. (Inherited from Control.)
| ProcessMnemonic | (Inherited from ContainerControl.)
| ProcessTabKey | Selects the next available control and makes it the active control. (Inherited from ContainerControl.)
| RaiseDragEvent | Raises the appropriate drag event. (Inherited from Control.)
| RaiseKeyEvent | Raises the appropriate key event. (Inherited from Control.)
| RaiseMouseEvent | Raises the appropriate mouse event. (Inherited from Control.)
| RaisePaintEvent | Raises the appropriate paint event. (Inherited from Control.)
| ReadXml | Overloaded.
| RecreateHandle | Forces the re-creation of the handle for the control. (Inherited from Control.)
| RectangleToClient | Computes the size and location of the specified screen rectangle in client coordinates. (Inherited from Control.)
| RectangleToScreen | Computes the size and location of the specified client rectangle in screen coordinates. (Inherited from Control.)
| Refresh | Overloaded.
| RemoveShapeFile | Removes the specifed ShapeFile from the SFMap control
| ResetBackColor | (Inherited from Control.)
| ResetBindings | (Inherited from Control.)
| ResetCursor | (Inherited from Control.)
| ResetFont | (Inherited from Control.)
| ResetForeColor | (Inherited from Control.)
| ResetImeMode | (Inherited from Control.)
| ResetMouseEventArgs | Resets the control to handle the MouseLeave event. (Inherited from Control.)
| ResetRightToLeft | (Inherited from Control.)
| ResetText | Resets the Text property to its default value. (Inherited from Control.)
| ResumeLayout | Overloaded.
| RtlTranslateAlignment | Overloaded.
| RtlTranslateContent | Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text. (Inherited from Control.)
| RtlTranslateHorizontal | Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text. (Inherited from Control.)
| RtlTranslateLeftRight | Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text. (Inherited from Control.)
| Scale | Overloaded.
| ScaleControl | (Inherited from ScrollableControl.)
| ScaleCore | (Inherited from ScrollableControl.)
| ScrollControlIntoView | Scrolls the specified child control into view on an auto-scroll enabled control. (Inherited from ScrollableControl.)
| ScrollToControl | Calculates the scroll offset to the specified child control. (Inherited from ScrollableControl.)
| Select | Overloaded.
| SelectNextControl | Activates the next control. (Inherited from Control.)
| SendToBack | Sends the control to the back of the z-order. (Inherited from Control.)
| SetAutoScrollMargin | Sets the size of the auto-scroll margins. (Inherited from ScrollableControl.)
| SetAutoSizeMode | Sets a value indicating how a control will behave when its AutoSize property is enabled. (Inherited from Control.)
| SetBounds | Overloaded.
| SetBoundsCore | Performs the work of setting the specified bounds of this control. (Inherited from Control.)
| SetClientSizeCore | Sets the size of the client area of the control. (Inherited from Control.)
| SetDisplayRectLocation | Positions the display window to the specified value. (Inherited from ScrollableControl.)
| SetScrollState | Sets the specified scroll state flag. (Inherited from ScrollableControl.)
| SetStyle | Sets the specified style bit to the specified value. (Inherited from Control.)
| SetTopLevel | Sets the control as the top-level control. (Inherited from Control.)
| SetVisibleCore | Sets the control to the specified visible state. (Inherited from Control.)
| SetZoomAndCentre | Convenience method to set the ZoomLevel and CentrePoint in one method
| Show | Displays the control to the user. (Inherited from Control.)
| SizeFromClientSize | Determines the size of the entire control from the height and width of its client area. (Inherited from Control.)
| SuspendLayout | Temporarily suspends the layout logic for the control. (Inherited from Control.)
| ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
| Update | Causes the control to redraw the invalidated regions within its client area. (Inherited from Control.)
| UpdateBounds | Overloaded.
| UpdateDefaultButton | When overridden by a derived class, updates which button is the default button. (Inherited from ContainerControl.)
| UpdateStyles | Forces the assigned styles to be reapplied to the control. (Inherited from Control.)
| UpdateZOrder | Updates the control in its parent's z-order. (Inherited from Control.)
| Validate | Overloaded.
| ValidateChildren | Overloaded.
| WndProc | (Inherited from UserControl.)
| WriteXml |
| ZoomToFullExtent | Centres and scales the map to fit the entire map in the SFControl

# Explicit Interface Implementations

| Name | Description
--- | --- | ---
| IContainerControl..::.ActivateControl | (Inherited from ContainerControl.)
| IDropTarget..::.OnDragDrop | (Inherited from Control.)
| IDropTarget..::.OnDragEnter | (Inherited from Control.)
| IDropTarget..::.OnDragLeave | (Inherited from Control.)
| IDropTarget..::.OnDragOver | (Inherited from Control.)

# See Also

SFMap Class
EGIS.Controls Namespace