Takes a screenshot of the page at the specified url. Does nothing if there is already a screenshot thumbnail in the specified folder (assumes that the existing thumbnail will be used).
Namespace: MonoSoftware.MonoX.ScreenshotGeneratorAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public static void GenerateScreenshot(
string url,
int width,
int height,
int thumbWidth,
int thumbHeight,
string absolutePath
) |
Visual Basic |
---|
Public Shared Sub GenerateScreenshot (
url As String,
width As Integer,
height As Integer,
thumbWidth As Integer,
thumbHeight As Integer,
absolutePath As String
) |
Visual C++ |
---|
public:
static void GenerateScreenshot(
String^ url,
int width,
int height,
int thumbWidth,
int thumbHeight,
String^ absolutePath
) |
F# |
---|
static member GenerateScreenshot :
url : string *
width : int *
height : int *
thumbWidth : int *
thumbHeight : int *
absolutePath : string -> unit
|
See Also