CitrixVirtualUserScript SaveScreenshotToFile Method (String)C# API
Saves a screenshot to file

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

public string SaveScreenshotToFile(
	string filePath


Type: System String
An absolute path or a path relative to the runs folder which to save the bitmap. The file name must be included.

Return Value

The absolute path (including file name) where the screen portion should be saved.

Saves a screenshot of the entire screen (as a bitmap) to either the absolute path specified or under the runs folder hierarchy using the naming convention shown (workspace hierarchy for localhost injector, fcCache for remote)
In addition if the relative path specified contains a folder defined by the user (i.e. <my_folder>\<screenshot>.bmp ) then the path and filename will be split by the VU index and iteration folders;
See Also