C#
VB
C++
Values which determine how the control displays the image and whether it automatically adjusts the display rectangles.
public enum RasterPictureBoxSizeMode Public Enum RasterPictureBoxSizeModeInherits System.EnumImplements System.IComparable, System.IConvertible, System.IFormattable
public enum class RasterPictureBoxSizeMode : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable Members
| Value | Member | Description |
|---|---|---|
| 0 | Normal | Normal, no sizing |
| 1 | StretchImage | Fit the image to fill the destination rectangle. The aspect ratio might not be maintained. |
| 2 | AutoSize | Perform automatic sizing. |
| 3 | CenterImage | Center the image in the middle of the destination rectangle. |
| 4 | Fit | Fit and Center the image in the middle of the destination rectangle. |
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
