Determines how to resize the container in the new dimension values.
public enum AnnResizeModePublic Enum AnnResizeModepublic enum AnnResizeModepublic enum AnnResizeModeLeadtools.Annotations.Core.AnnResizeMode = function() { };Leadtools.Annotations.Core.AnnResizeMode.prototype = {Fit = 0x00000000,FitAlways = 0x00000001,FitWidth = 0x00000002,FitHeight = 0x00000003,Stretch = 0x00000004,};
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 |
|
Products |
Support |
Feedback: AnnResizeMode Enumeration - Leadtools.Annotations.Core |
Introduction |
Help Version 19.0.2017.3.22
|

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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.