autoSizeAfterEdit Property

Summary

A value that indicates whether to automatically adjust the text object to fit within the boundaries of the enclosing text.

Syntax
TypeScript
JavaScript
Object.defineProperty(AnnTextEditDesigner.prototype, 'autoSizeAfterEdit', 
	get: function(), 
	set: function(value) 
) 
autoSizeAfterEdit: boolean; 

Property Value

true to automatically resize the text object to adjust it to fit within the boundaries of the enclosing text, otherwise; false. Default value is false.

Remarks

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

When 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 fit the contents of the new text.
  • The value of AutoSizeRotatedOnly controls whether to adjust the object size if the text is rotated.

Requirements

Target Platforms

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

Leadtools.Annotations.Designers Assembly