Skip to main content
IDirectManipulationPrimaryContent interface

Encapsulates the primary content inside a viewport. Primary content is the content specified during the creation of a viewport.

When to implement

The system provides an implementation of IDirectManipulationPrimaryContent.

Members

The IDirectManipulationPrimaryContent interface inherits from the IUnknown interface. IDirectManipulationPrimaryContent also has these types of members:

Methods

The IDirectManipulationPrimaryContent interface has these methods.

MethodDescription
GetCenterPoint

Retrieves the center point of the manipulation in content coordinates.

GetInertiaEndTransform

Gets the final transform, including inertia, of the primary content.

SetHorizontalAlignment

Sets the horizontal alignment of the primary content relative to the viewport.

SetSnapCoordinate

Specifies the coordinate system for snap points or snap intervals.

SetSnapInterval

Specifies snap points for the inertia end position at uniform intervals.

SetSnapPoints

Specifies the snap points for the inertia rest position.

SetSnapType

Specifies the type of snap point.

SetVerticalAlignment

Specifies the vertical alignment of the primary content in the viewport.

SetZoomBoundaries

Specifies the minimum and maximum boundaries for zoom.

 

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

DirectManipulation.h

IDL

DirectManipulation.idl

IID

IID_IDirectManipulationPrimaryContent is defined as C12851E4-1698-4625-B9B1-7CA3EC18630B

See also

Direct Manipulation Interfaces