C# Class Objectivity.Test.Automation.Common.Helpers.TakeScreenShot

Custom screenshot solution
显示文件 Open project: ObjectivityBSS/Test.Automation

Public Methods

Method Description
DoIt ( ) : Bitmap

Takes screen shot.

Save ( Bitmap bitmap, ImageFormat format, string folder, string title ) : void

Saves the specified bitmap.

Method Details

DoIt() public static method

Takes screen shot.
public static DoIt ( ) : Bitmap
return System.Drawing.Bitmap

Save() public static method

Saves the specified bitmap.
public static Save ( Bitmap bitmap, ImageFormat format, string folder, string title ) : void
bitmap System.Drawing.Bitmap The bitmap.
format System.Drawing.Imaging.ImageFormat The format.
folder string The folder.
title string The title.
return void