Determines how the control displays the image and the automatic adjustments of the display rectangles.
public enum ControlSizeMode
Public Enum ControlSizeMode
public enum class ControlSizeMode sealed
Members
0 | None |
(0) No special sizing |
1 | ActualSize |
(1) Use the image actual size |
2 | Fit |
(2) Fit the image into the viewing area while maintaining the aspect ratio. If the image size is smaller than the viewing area, no resizing is done. |
3 | FitAlways |
(3) Always fit the image into the viewing area while maintaining the aspect ratio even if the image size is smaller than the viewing area (in which case, the image will be scaled up). |
4 | FitWidth |
(4) Fit the image width to be the size of the width of the viewing area while maintaining the aspect ratio. |
5 | FitHeight |
(5) Fit the image height to be the size of the height of the viewing area while maintaining the aspect ratio. |
6 | Stretch |
(6) Fit the image to fill the viewing area. Aspect ratio might not be maintained. |
ControlSizeMode is used by the ImageViewer.Zoom and ImageViewerItem.Zoom methods.
For an example, refer to ImageViewer.Zoom
Products |
Support |
Feedback: ControlSizeMode Enumeration - Leadtools.Controls |
Introduction |
Help Version 19.0.2017.6.20
|
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.