Save the image to a file. Supported format: png, bmp, gif and jpg.
名前空間: Seleniumアセンブリ: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
構文Dim instance As Image
Dim filePath As String
Dim autoDispose As Boolean
Dim returnValue As String
returnValue = instance.SaveAs(filePath,
autoDispose)
パラメータ
- filePath
- 型: SystemString
File path. Ex: "C:\capture_{yyyyMMdd-HHmmss}.png" - autoDispose(省略可)
- 型: SystemBoolean
Release the image resources once done
戻り値
型:
StringFull file path
参照