| ImageGear Professional v18.2 > API Reference Guide > View Component API Reference > View Component Objects > IGPageViewCtl Control > IGPageViewCtl Events > DropFiles Event |
Fires when the user drops files on the control's window.
Sub IGPageCtl_DropFiles(FileList as Variant)
| Name | Description |
|---|---|
| FileList | An array with the dropped file names. |
|
Copy Code
|
|
|---|---|
`Get the first file on the list and load it to the page view
control
Private Sub IGPageViewCtl1_DropFiles(ByVal FileList As Variant)
Me.IGFormatsCtl1.LoadPageFromFile IGPage, FileList(0), 0
IGPageViewCtl1.UpdateView
End Sub
|
|