C#
VB
Java
WinRT C#
C++
Determines how to resize the container in the new dimension values.
public enum AnnResizeMode
Public Enum AnnResizeMode
public enum AnnResizeMode
public enum AnnResizeMode
Leadtools.Annotations.Core.AnnResizeMode = function() { };
Leadtools.Annotations.Core.AnnResizeMode.prototype = {
Fit = 0x00000000,
FitAlways = 0x00000001,
FitWidth = 0x00000002,
FitHeight = 0x00000003,
Stretch = 0x00000004,
};
public:
enum class AnnResizeMode sealed
Members
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 |
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