←Select platform

AutoSizeAfterEdit Property

Summary

Resizes the text object to adjust it to fit the boundary of the enclosing text.

Syntax
C#
Objective-C
C++/CLI
Python
public bool AutoSizeAfterEdit { get; set; } 
@property (nonatomic, assign) BOOL autoSizeAfterEdit; 
public:  
   property bool AutoSizeAfterEdit 
   { 
      bool get() 
      void set(bool value) 
   } 
AutoSizeAfterEdit # get and set (AnnTextEditDesigner) 

Property Value

true to resize the text object to adjust it to fit the boundary of the enclosing text; otherwise, false. The default value is false.

Remarks

If the value of AutoSizeAfterEdit is false (the default value) and the user changes the text in the control using automation, the boundary of the object does not change.

If the value of AutoSizeAfterEdit is set to true:

  • The resize and rotation thumbs will be removed.
  • When the user changes the text in the control using automation, then AnnTextObject.AutoSize is called and the object's size is adjusted to contain the content of the new text.
  • The value of AutoSizeRotatedOnly controls whether to adjust the object's size if the text is rotated.
Requirements

Target Platforms

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

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