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.ScreenshotGenerator
Assembly: 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 

Parameters

url
Type: System..::..String
Full url of the page to retrieve
width
Type: System..::..Int32
Browser width
height
Type: System..::..Int32
Browser height
thumbWidth
Type: System..::..Int32
Thumbnail width
thumbHeight
Type: System..::..Int32
Thumbnail height
absolutePath
Type: System..::..String
Absolute path of the folder that will hold the generated thumbnails

See Also