Class ImageHelper
Inheritance
System.Object
ImageHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: GPAL.dll
Syntax
public class ImageHelper : IAllowGraphicSettings, IAllowScreenshot
Properties
MyBrowser
Declaration
public Browser MyBrowser { get; set; }
Property Value
ScreenShot
Declaration
public Bitmap ScreenShot { get; set; }
Property Value
| Type |
Description |
| System.Drawing.Bitmap |
|
Methods
Base64ToImage(String)
Declaration
public static Image Base64ToImage(string base64String)
Parameters
| Type |
Name |
Description |
| System.String |
base64String |
|
Returns
| Type |
Description |
| System.Drawing.Image |
|
CaptureScreen(Object)
Declaration
public IAllowGraphicSettings CaptureScreen(object ApplicationOrBrowser = null)
Parameters
| Type |
Name |
Description |
| System.Object |
ApplicationOrBrowser |
|
Returns
FindImage(String)
Declaration
public static Rectangle FindImage(string imagePath)
Parameters
| Type |
Name |
Description |
| System.String |
imagePath |
|
Returns
| Type |
Description |
| System.Drawing.Rectangle |
|
LoadImageFromFile(String)
Declaration
public static Image LoadImageFromFile(string filename)
Parameters
| Type |
Name |
Description |
| System.String |
filename |
|
Returns
| Type |
Description |
| System.Drawing.Image |
|
SaveToFile(IGPALFile)
Declaration
public IAllowGraphicSettings SaveToFile(IGPALFile file)
Parameters
Returns
ToBase64String(out String)
Declaration
public IAllowGraphicSettings ToBase64String(out string base64String)
Parameters
| Type |
Name |
Description |
| System.String |
base64String |
|
Returns
ToBitmap(out Bitmap)
Declaration
public IAllowGraphicSettings ToBitmap(out Bitmap bitmap)
Parameters
| Type |
Name |
Description |
| System.Drawing.Bitmap |
bitmap |
|
Returns
Implements