Visual Basic (Declaration) | |
---|---|
Public Enum RasterViewerSizeMode Inherits Enum Implements IComparable, IConvertible, IFormattable |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public enum RasterViewerSizeMode : Enum, IComparable, IConvertible, IFormattable |
C++/CLI | |
---|---|
public enum class RasterViewerSizeMode : public Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
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. |
The RasterImageViewer.SizeMode property controls how the image is displayed.
System.Object
System.ValueType
System.Enum
Leadtools.WinForms.RasterViewerSizeMode
Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6