Determines how to resize the container in the new dimension values.
public enum AnnResizeMode
Public Enum AnnResizeMode
public enum AnnResizeMode
public:
enum class AnnResizeMode sealed
Value | Member | Description |
---|---|---|
0 | Fit | Fit the container into the destination size while maintaining the aspect ratio. If the container size is smaller than the destination size, do not perform resizing. |
1 | FitAlways | Always fit the container into the destination size while maintaining the aspect ratio, even if the container size is smaller than the destination size. |
2 | FitWidth | Adjust the container width so it has the same value as the destination size, while maintaining the aspect ratio |
3 | FitHeight | Adjust the container height so it has the same value as the destination size, while maintaining the aspect ratio |
4 | Stretch | Adjust the container so it has the same exact size as the destination size. Aspect ratio may not be maintained |
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