TemplateMatchExtensionsToScreenCoordinates Method
Translates the size and location of the source TemplateMatch to screen coordinates.
Namespace: DevCase.ThirdParty.AForge.Extensions.TemplateMatchExtensionsAssembly: 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
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function ToScreenCoordinates (
match As TemplateMatch,
window As IntPtr
) As Rectangle
Dim match As TemplateMatch
Dim window As IntPtr
Dim returnValue As Rectangle
returnValue = match.ToScreenCoordinates(window)
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
static Rectangle ToScreenCoordinates(
TemplateMatch^ match,
IntPtr window
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member ToScreenCoordinates :
match : TemplateMatch *
window : IntPtr -> Rectangle
No code example is currently available or this language may not be supported.
- match TemplateMatch
-
The source TemplateMatch.
- window IntPtr
-
A handle to the window that belongs the source TemplateMatch.
Rectangle
The resulting
Rectangle.
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).