IDirectManipulationMotion::SetSnapInterval method

[This documentation is preliminary and is subject to change.]

Applies to: desktop apps only

Sets the snap interval for the manipulation value for inertia.

Syntax

HRESULT SetSnapInterval(
  [in]  DOUBLE interval,
  [in]  DOUBLE offset,
  [in]  BOOL isFromMinimum
);

Parameters

  • interval [in]
    The interval to snap to, within the upper and lower bounds.

  • offset [in]

  • isFromMinimum [in]

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Units are in device pixel units.

Requirements

Minimum supported client

Windows Developer Preview

Minimum supported server

Windows Server Developer Preview

IDL

DirectManipulation.idl

See also

IDirectManipulationMotion

 

 

Build date: 12/12/2011