MapWinGIS:AxMap FileDropped

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

FileDropped

This event is fired when a user drags a file and drops it on the map.


VB.NET Usage

Event FileDropped(Sender As Object, e As AxMapWinGIS._DMapEvents_FileDroppedEvent)

            Parameters

Sender

The sender of the event.
e.filename The filename of the file dropped on the map.

Sample Code

    Private Sub Map1_FileDropped(ByVal sender As Object, ByVal e As AxMapWinGIS._DMapEvents_FileDroppedEvent) Handles Map1.FileDropped
        'If a shapefile is dropped on the map then load it
        AddShapefile(e.filename)
    End Sub
  

VB 6 Usage
Event FileDropped(Filename As String)
            Parameters

Filename

The filename of the file dropped on the map.

Sample Code

    Private Sub Map1_FileDropped(ByVal Filename As String)
        'If a shapefile is dropped on the map then load it
        AddShapefile (Filename)
    End Sub

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGIS:AxMap_FileDropped"

This page has been accessed 1,298 times. This page was last modified on 9 November 2005, at 18:33.