TemplateMatchExtensionsToScreenCoordinates Method

Translates the size and location of the source TemplateMatch to screen coordinates.

Definition

Namespace: DevCase.ThirdParty.AForge.Extensions.TemplateMatchExtensions
Assembly: DevCase.net48.ThirdParty.AForge (in DevCase.net48.ThirdParty.AForge.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static Rectangle ToScreenCoordinates(
	this TemplateMatch match,
	IntPtr window
)

Parameters

match  TemplateMatch
The source TemplateMatch.
window  IntPtr
A handle to the window that belongs the source TemplateMatch.

Return Value

Rectangle
The resulting Rectangle.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TemplateMatch. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:

https://www.nuget.org/packages/AForge/

https://www.nuget.org/packages/AForge.Imaging/

https://www.nuget.org/packages/AForge.Math/

See Also