Skip to content

Latest commit

 

History

History
95 lines (69 loc) · 4.42 KB

nf-manipulations-iinertiaprocessor-get_initialoriginy.md

File metadata and controls

95 lines (69 loc) · 4.42 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:manipulations.IInertiaProcessor.get_InitialOriginY
IInertiaProcessor::get_InitialOriginY (manipulations.h)
The InitialOriginY property specifies the starting vertical location for a target with inertia. (Get)
IInertiaProcessor interface [Windows Touch]
InitialOriginY property
IInertiaProcessor.InitialOriginY
IInertiaProcessor.get_InitialOriginY
IInertiaProcessor::InitialOriginY
IInertiaProcessor::get_InitialOriginY
IInertiaProcessor::put_InitialOriginY
InitialOriginY property [Windows Touch]
InitialOriginY property [Windows Touch]
IInertiaProcessor interface
get_InitialOriginY
manipulations/IInertiaProcessor::InitialOriginY
manipulations/IInertiaProcessor::get_InitialOriginY
manipulations/IInertiaProcessor::put_InitialOriginY
wintouch.iinertiaprocessor_initialoriginy
wintouch\iinertiaprocessor_initialoriginy.htm
wintouch
4b817f8b-79e9-4409-a6b2-2096759bab59
12/05/2018
IInertiaProcessor interface [Windows Touch],InitialOriginY property, IInertiaProcessor.InitialOriginY, IInertiaProcessor.get_InitialOriginY, IInertiaProcessor::InitialOriginY, IInertiaProcessor::get_InitialOriginY, IInertiaProcessor::put_InitialOriginY, InitialOriginY property [Windows Touch], InitialOriginY property [Windows Touch],IInertiaProcessor interface, get_InitialOriginY, manipulations/IInertiaProcessor::InitialOriginY, manipulations/IInertiaProcessor::get_InitialOriginY, manipulations/IInertiaProcessor::put_InitialOriginY, wintouch.iinertiaprocessor_initialoriginy
manipulations.h
Manipulations.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Windows
19H1
IInertiaProcessor::get_InitialOriginY
manipulations/IInertiaProcessor::get_InitialOriginY
c++
APIRef
kbSyntax
COM
manipulations.h
IInertiaProcessor.InitialOriginY
IInertiaProcessor.get_InitialOriginY
IInertiaProcessor.put_InitialOriginY

IInertiaProcessor::get_InitialOriginY

-description

The InitialOriginY property specifies the starting vertical location for a target with inertia.

This property is read/write.

-parameters

-remarks

A user can manipulate an object to set the InitialOriginY to be outside of the elastic bounds. Setting InitialOriginY to a value outside of the elastic bounds will cause an exception to be thrown. To prevent users from setting the origin out of bounds, check that InitialOriginY is valid before setting it on an IInertiaProcessor interface. If Inertia processing has already started, calling put_InitialOriginY() will reset the inertia state to initial time stamp.

All locations used for the inertia and manipulation processor are relative. If you want to use screen coordinates, you pass screen coordinates to the manipulation (or inertia) processor; if you want to use absolute coordinates, you pass those into the processor you are using.

Call this function to set the initial state of inertia. You would call this function most likely during the ManipulationCompleted event of the IManipulationProcessor or in the constructor of the IInertiaProcessor interface.

-see-also

Handling Inertia in Unmanaged Code

IInertiaProcessor

Inertia Mechanics

InitialOriginY

Properties