Values which determine how the control displays the image and whether it automatically adjusts the display rectangles.
public enum RasterPictureBoxSizeMode public enum class RasterPictureBoxSizeMode : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable public:enum class RasterPictureBoxSizeMode sealed
| 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. |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
