mobileFX WebKitX CEF3 ActiveX 4.x
WebKitXCEF3Lib ActiveX Control / WebKitXCEF3 Object / SetDownloadPath Method

The ID of the downloaded resource as provided by OnBeforeDownload event.

The full path of the Folder that downloaded resource will be saved.

This must not include the filename.

The file name of the downloaded resource.

Set to True to cancel the download of the resource.

In This Topic
    SetDownloadPath Method
    In This Topic
    Description

    Must be called from inside OnBeforeDownload event handler to provide Path and FileName to the event.

    This is a helper function for programming languages that do not support ByRef arguments.

    Syntax
    Visual Basic
    Public Sub SetDownloadPath( _
       ByVal Id As Long, _
       ByVal Path As String, _
       ByVal FileName As String, _
       ByVal Cancel As Boolean _
    ) 
    Parameters
    Id

    The ID of the downloaded resource as provided by OnBeforeDownload event.

    Path

    The full path of the Folder that downloaded resource will be saved.

    This must not include the filename.

    FileName

    The file name of the downloaded resource.

    Cancel

    Set to True to cancel the download of the resource.

    See Also