←Select platform

AnnResizeMode Enumeration

Summary

Determines how to resize the container in the new dimension values.

Syntax

C#
VB
Java
WinRT C#
C++
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

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly