Values that specify how an image is aligned relative to its layout rectangle.
| Value | Member | Description | 
|---|---|---|
| 0 | Near | The image is aligned near the layout. In a Horizontal layout, the near position is on the left. In a Vertical layout, the near position is at the top. | 
| 1 | Center | (0x00000001)The image is aligned in the center of the layout rectangle. | 
| 2 | Far | The image is aligned at a distance from the origin of the layout rectangle. In a Horizontal layout, the far position is on the right. In a Vertical layout, the far position is at the bottom. | 
The WebImageViewer.HorizontalAlignMode and WebImageViewer.VerticalAlignMode properties controls the horizontal and vertical alignment used when displaying the image.