Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
RasterViewerSizeMode Enumeration
See Also  
Leadtools.WinForms Namespace : RasterViewerSizeMode Enumeration



Values for the RasterImageViewer.SizeMode property.

Syntax

Visual Basic (Declaration) 
Public Enum RasterViewerSizeMode 
   Inherits Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As RasterViewerSizeMode
C# 
public enum RasterViewerSizeMode : Enum, IComparableIConvertibleIFormattable  
C++/CLI 
public enum class RasterViewerSizeMode : public Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
Normal Width is the image Width. Height is the image Height.
Fit The 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.
FitWidth Width 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.
Stretch Width is the control's client area width. Height is the client area height. The aspect ratio of the image is not preserved.
FitIfLarger Same as Fit if the image width or height is than the viewing area, otherwise, same as Normal. Aspect ratio of the image i smaintained.

Remarks

The RasterImageViewer.SizeMode property controls how the image is displayed.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.WinForms.RasterViewerSizeMode

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also