Show / Hide Table of Contents

Class ImageHelper

Inheritance
System.Object
ImageHelper
Implements
IAllowGraphicSettings
IAllowScreenshot
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()
Namespace: GenerallyPositive
Assembly: GPAL.dll
Syntax
public class ImageHelper : IAllowGraphicSettings, IAllowScreenshot

Properties

MyBrowser

Declaration
public Browser MyBrowser { get; set; }
Property Value
Type Description
Browser

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
Type Description
IAllowGraphicSettings

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
Type Name Description
IGPALFile file
Returns
Type Description
IAllowGraphicSettings

ToBase64String(out String)

Declaration
public IAllowGraphicSettings ToBase64String(out string base64String)
Parameters
Type Name Description
System.String base64String
Returns
Type Description
IAllowGraphicSettings

ToBitmap(out Bitmap)

Declaration
public IAllowGraphicSettings ToBitmap(out Bitmap bitmap)
Parameters
Type Name Description
System.Drawing.Bitmap bitmap
Returns
Type Description
IAllowGraphicSettings

Implements

IAllowGraphicSettings
IAllowScreenshot
In This Article
Back to top Generated by DocFX