←Select platform

ImageViewerAlignMode Enumeration

Summary

Values that specify how an image is aligned relative to its layout rectangle.

Syntax

C#
VB
C++
public enum ImageViewerAlignMode 
  
Public Enum ImageViewerAlignMode  
   Inherits System.Enum 
   Implements System.IComparable, System.IConvertible, System.IFormattable  
public enum class ImageViewerAlignMode : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable   

Members

ValueMemberDescription
0NearThe 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.
1Center(0x00000001)The image is aligned in the center of the layout rectangle.
2FarThe 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.
Remarks

The WebImageViewer.HorizontalAlignMode and WebImageViewer.VerticalAlignMode properties controls the horizontal and vertical alignment used when displaying the image.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Web Assembly