InjectedInputRectangle
InjectedInputRectangle
InjectedInputRectangle
InjectedInputRectangle
Struct
Definition
The screen coordinates of the bounding box that represents the touch contact area.
Note
The APIs in this namespace require the inputInjectionBrokered restricted capability.
public : struct InjectedInputRectanglepublic struct InjectedInputRectanglePublic Structure InjectedInputRectangle// You can use this struct in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
Remarks
Using input injection requires the following be added to the Package.appxmanifest:
- To
<Package>xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"IgnorableNamespaces="rescap"
- To
<Capabilities><rescap:Capability Name="inputInjectionBrokered" />
Fields
Bottom Bottom Bottom Bottom
The y-coordinate location of the bottom side of the rectangle, in device-independent pixel (DIP).
public : field int Bottompublic field int BottomPublic Field Bottom// You can use this field in JavaScript.
Left Left Left Left
The x-coordinate location of the left side of the rectangle, in device-independent pixel (DIP).
public : field int Leftpublic field int LeftPublic Field Left// You can use this field in JavaScript.
Right Right Right Right
The y-coordinate location of the left side of the rectangle, in device-independent pixel (DIP).
public : field int Rightpublic field int RightPublic Field Right// You can use this field in JavaScript.