Error processing SSI file
LEADTOOLS WebForms and AJAX (Leadtools.Web assembly)

Show in webframe

ImageViewerSizeMode Enumeration






Values that specify how the image is displayed.
Syntax
public enum ImageViewerSizeMode : System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
'Declaration
 
Public Enum ImageViewerSizeMode 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As ImageViewerSizeMode

            

            
public enum class ImageViewerSizeMode : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
ValueMemberDescription
0x00000000NormalWidth is the image width. Height is the image height.
0x00000001StretchWidth is the control's client area width. Height is the client area height. The aspect ratio of the image is not preserved.
0x00000002FitAlwaysThe largest possible width or height is set to the control's client area width or height. The remaining dimension is set proportionally to maintain the aspect ratio of the image.
0x00000003FitWidthWidth is the control's client area width. Height is set proportionally to maintain the aspect ratio of the image. If necessary, the control will implement a vertical scroll bar.
0x00000004FitSame as FitAlways if the image width or height is greater than the viewing area; otherwise, same as Normal. The aspect ratio of the image is maintained.
Remarks
The WebImageViewer.SizeMode property controls how the image is displayed.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Web.Controls.ImageViewerSizeMode

Requirements

Target Platforms

See Also

Reference

Leadtools.Web.Controls Namespace

Error processing SSI file