Values which determine how the control displays the image and whether it automatically adjusts the display rectangles.
public enum RasterPictureBoxSizeMode
Public Enum RasterPictureBoxSizeMode
public enum class RasterPictureBoxSizeMode sealed
0 | Normal |
(0) Normal, no sizing |
1 | StretchImage |
(1) Fit the image to fill the destination rectangle. The aspect ratio might not be maintained. |
2 | AutoSize |
(2) Perform automatic sizing. |
3 | CenterImage |
(3) Center the image in the middle of the destination rectangle. |
4 | Fit |
(4) 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