DIRECTMANIPULATION_HORIZONTALALIGNMENT enumeration (directmanipulation.h)

Defines the horizontal alignment options for content within a viewport.

Syntax

typedef enum DIRECTMANIPULATION_HORIZONTALALIGNMENT {
  DIRECTMANIPULATION_HORIZONTALALIGNMENT_NONE = 0,
  DIRECTMANIPULATION_HORIZONTALALIGNMENT_LEFT = 0x1,
  DIRECTMANIPULATION_HORIZONTALALIGNMENT_CENTER = 0x2,
  DIRECTMANIPULATION_HORIZONTALALIGNMENT_RIGHT = 0x4,
  DIRECTMANIPULATION_HORIZONTALALIGNMENT_UNLOCKCENTER = 0x8
} ;

Constants

 
DIRECTMANIPULATION_HORIZONTALALIGNMENT_NONE
Value: 0
No alignment. The object can be positioned anywhere within the viewport.
DIRECTMANIPULATION_HORIZONTALALIGNMENT_LEFT
Value: 0x1
Align object along the left side of the viewport.
DIRECTMANIPULATION_HORIZONTALALIGNMENT_CENTER
Value: 0x2
Align object to the center of the viewport.
DIRECTMANIPULATION_HORIZONTALALIGNMENT_RIGHT
Value: 0x4
Align object along the right side of the viewport.
DIRECTMANIPULATION_HORIZONTALALIGNMENT_UNLOCKCENTER
Value: 0x8
Content zooms around the center point of the contacts, instead of being locked with the horizontal alignment.

Requirements

   
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header directmanipulation.h

See also

Direct Manipulation Enumerations