←Select platform

AnnResizeMode Enumeration

Summary
Determines how to resize the container in the new dimension values.
Syntax
C#
Objective-C
C++/CLI
Java
Python
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 = 0 
   FitAlways = 1 
   FitWidth = 2 
   FitHeight = 3 
   Stretch = 4 
Members
ValueMemberDescription
0Fit 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.
1FitAlways Always fit the container into the destination size while maintaining the aspect ratio, even if the container size is smaller than the destination size.
2FitWidth Adjust the container width so it has the same value as the destination size, while maintaining the aspect ratio
3FitHeight Adjust the container height so it has the same value as the destination size, while maintaining the aspect ratio
4Stretch Adjust the container so it has the same exact size as the destination size. Aspect ratio may not be maintained
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.