CitrixVirtualUserScript LogScreenshot Method (String, Int32, Int32, Int32, Int32, String)C# API
Take a screenshot of a portion of the screen, and add a message and link to the screenshot into the event log.

Namespace: Facilita.Fc.Citrix
Assembly: fcCitrix (in fcCitrix.dll) Version: 9.5.7.98
Syntax

public void LogScreenshot(
	string message,
	int xPos,
	int yPos,
	int width,
	int height,
	string imageName
)

Parameters

message
Type: System String
The message to write to the event log
xPos
Type: System Int32
The x co-ordinate of the top-left of the screen rectangle
yPos
Type: System Int32
The y co-ordinate of the top-left of the screen rectangle
width
Type: System Int32
The width of the screen rectangle.
height
Type: System Int32
The height of the screen rectangle.
imageName
Type: System String
The name of the image file to save. Note that this should just be a filename, not an absolute path.
See Also