Fired periodically while a file is being downloaded.
Syntax
Private Sub object_DownLoadInProgress(ByVal FileNameAndPath As String, ByVal FileName As String, ByVal Percent As Integer, ByVal BytesRead As Long, ByVal BytesMax As Long)
The DownLoadInProgress event syntax has these parts:
Element | Description |
Object | The object placeholder represents an OrdoWebView2 control |
FileNameAndPath | String. The path and name of the file to download |
FileName | String. The name of the file to download |
Percent | Integer. The percentage of the download already completed (between 0 and 100) |
BytesRead | Long. The number of bytes already downloaded |
BytesMax | Long. The number of bytes to download |
This event is triggered following the call to the DownloadFile method