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

The file path to save screenshot.

For .JPG or .JPEG files, the quality to use. Must be between 0 and 100. It is ignored for other formats.

In This Topic
    SaveScreenshot Method
    In This Topic
    Description

    Saves WebKitX screenshot as image file.

    Syntax
    Visual Basic
    Public Sub SaveScreenshot( _
       ByVal FileName As String, _
       Optional ByVal Quality As Long = 100 _
    ) 
    Parameters
    FileName

    The file path to save screenshot.

    Quality

    For .JPG or .JPEG files, the quality to use. Must be between 0 and 100. It is ignored for other formats.

    Remarks

    WebKitX detects encoding from FileName extensions. Supported formats are .BMP, .PNG and .JPG or .JPEG. Internally WebKitX uses GDI+ to capture and save the screenshot, you must make sure gdiplus.dll is installed in Windows system folder.

    See Also