LEADTOOLS WebForms and AJAX (Leadtools.Web assembly)
LEAD Technologies, Inc

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 ImageViewerSizeMode : System.IComparableSystem.IConvertibleSystem.IFormattable  
Leadtools.Web.Controls.ImageViewerSizeMode = function() { };
Leadtools.Web.Controls.ImageViewerSizeMode.prototype = {
LeadtoolsMemberMarker(replace me) };
public enum class ImageViewerSizeMode : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
MemberDescription
FitSame 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.
FitAlwaysThe 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.
FitWidthWidth 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.
NormalWidth is the image width. Height is the image height.
StretchWidth is the control's client area width. Height is the client area height. The aspect ratio of the image is not preserved.
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Leadtools.Web.Controls Namespace

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.