public enum AnnResizeMode typedef NS_ENUM(NSInteger, LTAnnResizeMode) {LTAnnResizeModeFit = 0,LTAnnResizeModeFitAlways = 1,LTAnnResizeModeFitWidth = 2,LTAnnResizeModeFitHeight = 3,LTAnnResizeModeStretch = 4,};
public enum AnnResizeMode public:enum class AnnResizeMode sealed
class AnnResizeMode(Enum):Fit = 0FitAlways = 1FitWidth = 2FitHeight = 3Stretch = 4
| 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
