RanorexRanorex Documentation
Imaging Class
NamespacesRanorexImaging
Provides methods to create screenshots of elements, to search for images, and for image processing.
Declaration Syntax
C#Visual BasicVisual C++
public class Imaging : MarshalByRefObject
Public Class Imaging _
	Inherits MarshalByRefObject
public ref class Imaging : public MarshalByRefObject
Members
All MembersConstructorsMethods



IconMemberDescription
Imaging()()()
Initializes a new instance of the Imaging class

CaptureCompressedImage(Element)
Captures a compressed image of an element.

CaptureCompressedImage(Adapter)
Captures a compressed image of an adapter.

CaptureDesktopImage(Rectangle)
Captures an image region from the desktop.

CaptureDesktopImage(Element)
Captures an image of element from the desktop.

CaptureDesktopImageWithSurroundingArea(Element, Nullable<(Of <(Point>)>), Color)
Captures an image of the of the element and its surrounding area from the desktop.

CaptureImage(Element)
Captures an image of an element.

CaptureImage(Element, Int32, Boolean)
Captures an image of an element.

CaptureImageAuto(Element)
Captures an image of the element even if it is hidden by other elements. If this does not succeed, the visible portion of the element is captured using a screenshot.

CaptureImageAuto(Element, Boolean)
Captures an image of the element even if it is hidden by other elements. If this does not succeed, the visible portion of the element is captured using a screenshot.

CaptureImageHidden(Element)
Captures an image of the element even if it is hidden by other elements.

Compare(Element, Bitmap, Imaging..::.FindOptions)
Compares the specified feature with (a screenshot of) the element and returns whether their similarity is greater than or equal to the value specified by options.Similarity.

Compare(Bitmap, Bitmap, Double)
Compares imageA and imageB and returns whether their similarity is greater than or equal to similarity.

Compare(Bitmap, Bitmap, Imaging..::.FindOptions)
Compares image and feature and returns whether their similarity is greater than or equal to the value specified by options.Similarity.

Compare(Bitmap, Bitmap)
Compares imageA and imageB and returns their similarity.

Contains(Element, Bitmap)
Searches for the specified feature in (a screenshot of) the element using DefaultImaging..::.FindOptions and returns whether the feature is found.

Contains(Element, Bitmap, Imaging..::.FindOptions)
Searches for the specified feature in (a screenshot of) the element and returns whether the feature is found.

Contains(Bitmap, Bitmap)
Searches for the specified feature in the image using DefaultImaging..::.FindOptions and returns whether the feature is found.

Contains(Bitmap, Bitmap, Imaging..::.FindOptions)
Searches for the specified feature in the image and returns whether the feature is found.

CreateObjRef(Type)
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Crop(Bitmap, Rectangle)
Crops the given image by the specified rectangle.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Find(Element, Bitmap)
Searches for the specified feature in (a screenshot of) the element and returns a list of Imaging..::.Matches using DefaultImaging..::.FindOptions.

Find(Element, Bitmap, Imaging..::.FindOptions)
Searches for the specified feature in (a screenshot of) the element and returns a list of Imaging..::.Matches.

Find(Bitmap, Bitmap)
Searches for the specified feature in the image and returns a list of Imaging..::.Matches using DefaultImaging..::.FindOptions.

Find(Bitmap, Bitmap, Imaging..::.FindOptions)
Searches for the specified feature in the image and returns a list of Imaging..::.Matches.

FindSingle(Element, Bitmap)
Searches for the specified feature in (a screenshot of) the element using DefaultImaging..::.FindOptions.

FindSingle(Element, Bitmap, Imaging..::.FindOptions)
Searches for the specified feature in (a screenshot of) the element.

FindSingle(Bitmap, Bitmap)
Searches for the specified feature in the image using DefaultImaging..::.FindOptions.

FindSingle(Bitmap, Bitmap, Imaging..::.FindOptions)
Searches for the specified feature in the image.

GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLifetimeService()()()
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
GetType()()()
Gets the type of the current instance.
(Inherited from Object.)
InitializeLifetimeService()()()
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Load(String)
Loads a bitmap file.

MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Resize(Bitmap, Double)
Resizes the input image.

Resize(Bitmap, Double, Double)
Resizes the input image.

Resize(Bitmap, Int32, Int32)
Resizes the input image.

ToString()()()
Returns a string that represents the current object.
(Inherited from Object.)
TryFindSingle(Element, Bitmap, Imaging..::.Match%)
Tries to find the specified feature in (a screenshot of) the element using DefaultImaging..::.FindOptions.

TryFindSingle(Element, Bitmap, Imaging..::.FindOptions, Imaging..::.Match%)
Tries to find the specified feature in (a screenshot of) the element.

TryFindSingle(Bitmap, Bitmap, Imaging..::.Match%)
Tries to find the specified feature in the image using DefaultImaging..::.FindOptions.

TryFindSingle(Bitmap, Bitmap, Imaging..::.FindOptions, Imaging..::.Match%)
Tries to find the specified feature in the image.

Inheritance Hierarchy

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 4.0.3.22982 (4.0.3.22982)